質問するログイン新規登録

質問編集履歴

2

該当のソースコード 修正

2020/04/06 02:24

投稿

karenDevice
karenDevice

スコア28

title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
  ### 該当のソースコード
9
9
 
10
10
  ```jsx
11
- if (bookmarkRoot.children.length != 0)
11
+ if (bookmarkRoot.children != null && bookmarkRoot.children.length != 0)
12
12
  {
13
13
  //しおりあり
14
14
  }

1

該当ソースコード修正

2020/04/06 02:24

投稿

karenDevice
karenDevice

スコア28

title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
  ### 該当のソースコード
9
9
 
10
10
  ```jsx
11
- if (bookmarkRoot.children.length == 0)
11
+ if (bookmarkRoot.children.length != 0)
12
12
  {
13
13
  //しおりあり
14
14
  }