質問編集履歴
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
・Locationオブジェクトのhrefプロパティを分割してオブジェクトへ格納するという決まりがあるのでしょうか?
|
4
4
|
|
5
5
|
```javascript
|
6
|
+
|
7
|
+
new String(document.location);
|
8
|
+
|
9
|
+
//結果
|
6
10
|
|
7
11
|
String {0: "h", 1: "t", 2: "t", 3: "p", 4: ":", 5: "/", 6: "/", (中略), length: ××, [[PrimitiveValue]]: "https://teratail.com/"}
|
8
12
|
|