セクション 2. 章 10
single
Constant Naming Convention
メニューを表示するにはスワイプしてください
Constant naming convention
Constants are planned to be non-changing variables. It is best to practice to distinguish constants from other variables and the best way to write them is in UPPERCASE (capital letters).
123456// UPPERCASE const SECONDS = 60; const MINUTES = 60; const HOURS = 24; const DAY = SECONDS * MINUTES * HOURS; console.log(DAY);
タスク
スワイプしてコーディングを開始
Store the value of pi in the constant and name it with an uppercase and show it on the console.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 10
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください