Travis build: 1163

This commit is contained in:
30secondsofcode
2018-01-10 21:46:26 +00:00
parent a4fa9d6bc5
commit 2d284ad0f1
4 changed files with 6 additions and 7 deletions

View File

@ -950,9 +950,7 @@ Use `Array.map()` to generate h rows where each is a new array of size w initial
```js
const initialize2DArray = (w, h, val = null) =>
Array(h)
.fill()
.map(() => Array(w).fill(val));
Array.from({ length: h }).map(() => Array.from({ length: w }).fill(val));
```
<details>
@ -5202,6 +5200,7 @@ const httpPost = (url, callback, data = null, err = console.error) => {
```js
const newPost = {
"userId": 1,
"id": 1337,