Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Boolean Naming Convention | JavaScript syntax
Introduction to JavaScript (staging)
セクション 2.  9
single

single

bookBoolean Naming Convention

メニューを表示するにはスワイプしてください

Boolean naming convention

Boolean, in programming, is a data type that is either true or false. Prefixes like is, has, and are added in the booleans to distinguish them from other variables. Boolean data-type has two values true or false.

Note We will discuss booleans in more detail in the upcoming chapters.

1234567
// Not clear that the identifier is a boolean let clear = true; console.log(clear); // clear that the identifier is a boolean let isClear = true; console.log(isClear);
copy
タスク

スワイプしてコーディングを開始

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 2.  9
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt