Skip to content

Commit 374d0b3

Browse files
authored
add runs buttons
to make `alerts` work
1 parent 55d806d commit 374d0b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/05-data-types/06-iterable/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ alert(arr.pop()); // World (method works)
218218

219219
The same happens for an iterable:
220220

221-
```js
221+
```js run
222222
// assuming that range is taken from the example above
223223
let arr = Array.from(range);
224224
alert(arr); // 1,2,3,4,5 (array toString conversion works)
@@ -233,7 +233,7 @@ The optional second argument `mapFn` can be a function that will be applied to e
233233

234234
For instance:
235235

236-
```js
236+
```js run
237237
// assuming that range is taken from the example above
238238

239239
// square each number

0 commit comments

Comments
 (0)