File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
docs/1-trial-session/07-boolean
_samples/weird-comparison Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="ja ">
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < title > Title</ title >
6+ </ head >
7+ < body >
8+ < script src ="./script.js "> </ script >
9+ </ body >
10+ </ html >
Original file line number Diff line number Diff line change 1+ let takaoHeight = 599 ;
2+ let everestHeight = 8849 ;
3+ let fujiHeight = 3776 ;
4+ document . write ( takaoHeight < everestHeight < fujiHeight ) ;
5+ // prettier-ignore
6+ document . write ( takaoHeight = everestHeight ) ;
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ document.write(takaoHeight = everestHeight);
9898- JavaScript で、数値と論理値に比較<Term >演算子</Term >を適用すると、` true ` は` 1 ` として、` false ` は` 0 ` として比較されます。
9999- ` = ` は代入演算子です。代入<Term >演算子</Term >の<Term >式</Term >が<Term >評価</Term >されると、右辺の<Term >値</Term >になります。
100100
101+ <ViewSource url = { import .meta .url } path = " _samples/weird-comparison" />
102+
101103:::
102104
103105## 演習問題
You can’t perform that action at this time.
0 commit comments