File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ document.write(sum);
6969
7070[ ** 複合代入演算子** ] ( https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#%E4%BB%A3%E5%85%A5%E6%BC%94%E7%AE%97%E5%AD%90 ) は、計算と代入を同時に行うことができる演算子です。
7171
72- ` x += y ` は、` x = x + y ` という意味になります。他にも ` -= ` や ` *= ` などの演算子が定義されています。` x -= y ` は` x = x - y ` 、 ` x *= y ` は` x = x * y ` という意味になります。
72+ ` x += y ` は、` x = x + y ` という意味になります。他にも ` -= ` や ` *= ` などの演算子が定義されています。` x -= y ` は` x = x - y ` 、` x *= y ` は` x = x * y ` という意味になります。
7373
7474複合代入演算子を用いると、
7575
Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ function repeat(stringToRepeat, times) {
152152 }
153153 return result;
154154}
155-
156155for (let i = 0 ; i < 10 ; i += 1 ) {
157156 document .write (repeat (" ☆" , i));
158157 document .write (" <br>" );
You can’t perform that action at this time.
0 commit comments