回答編集履歴

1

調整

2018/09/18 04:36

投稿

yambejp
yambejp

スコア114878

test CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  ```javascript
4
4
 
5
- document.querySelector('#ansall').textContent =selecas==5?'xxx':`${Math.floor(ans1)}
5
+ document.querySelector('#ansall').textContent =`${Math.floor(ans1)}
6
6
 
7
- ${Math.floor(ans2)}
7
+ ${Math.floor(ans2)}
8
8
 
9
- ${Math.floor(ans3)}
9
+ ${Math.floor(ans3)}
10
10
 
11
- ${Math.floor(ans4)}
11
+ ${Math.floor(ans4)}
12
12
 
13
- ${Math.floor(ans5)}`;
13
+ ${selecas==5?'xxx':Math.floor(ans5)}`;
14
14
 
15
15
  ```