回答編集履歴
1
情報の追加。
test
CHANGED
@@ -10,4 +10,8 @@
|
|
10
10
|
|
11
11
|
// 5 "%0A%20%20A%0A"
|
12
12
|
|
13
|
+
console.log(hoge.textContent.trim().length,encodeURIComponent(hoge.textContent.trim()));
|
14
|
+
|
15
|
+
// 1 A
|
16
|
+
|
13
|
-
```**動くサンプル:**[https://jsfiddle.net/tkazcxce/](https://jsfiddle.net/tkazcxce/)
|
17
|
+
```**動くサンプル:**[https://jsfiddle.net/tkazcxce/1/](https://jsfiddle.net/tkazcxce/1/)
|