Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Boolean 2/4 | Data Types and Variables
Introduction to JavaScript (staging)
セクション 3.  16
single

single

bookBoolean 2/4

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

Boolean Data Type

We use the typeof operator to check the data type of variables, for example.

1234
let isRaining = true; console.log(typeof isRaining); // or like this console.log(typeof(isRaining));
copy

As you can see in the above code we declared a variable named isRaining with the value of true, and its data type is boolean as expected.

タスク

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

Declare a variable with the name isSunRises and set its value as true. Then check the type of isSunRises by using typeof() and display the output.

解答

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

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

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

セクション 3.  16
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt