回答編集履歴
2
読みやすく修正。
test
CHANGED
@@ -18,6 +18,10 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
+
---
|
22
|
+
|
23
|
+
|
24
|
+
|
21
25
|
提示されているコードは jQuery というライブラリを使用したコードなので、`length`が使えます。
|
22
26
|
|
23
27
|
|
@@ -28,6 +32,10 @@
|
|
28
32
|
|
29
33
|
|
30
34
|
|
35
|
+
---
|
36
|
+
|
37
|
+
|
38
|
+
|
31
39
|
一応「型」の取得方法(jQuery オブジェクトはobjectになると思うが)。
|
32
40
|
|
33
41
|
|
1
情報の追加。
test
CHANGED
@@ -25,3 +25,13 @@
|
|
25
25
|
【.length | jQuery API Documentation】
|
26
26
|
|
27
27
|
[https://api.jquery.com/length/](https://api.jquery.com/length/)
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
一応「型」の取得方法(jQuery オブジェクトはobjectになると思うが)。
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
【typeof - JavaScript | MDN】
|
36
|
+
|
37
|
+
[https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/typeof](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Operators/typeof)
|