回答編集履歴
1
追記
test
CHANGED
@@ -20,6 +20,10 @@
|
|
20
20
|
|
21
21
|
```javascript
|
22
22
|
|
23
|
+
// 追記)空の配列の判定
|
24
|
+
|
25
|
+
// const isEmptyArray = a => Array.isArray(a) && !a.length;
|
26
|
+
|
23
27
|
const aryHasSomething = a => Array.isArray(a) && a.length && a;
|
24
28
|
|
25
29
|
let arr = [];
|