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

single

bookSymbols 2/3

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

Symbol() Function Description:

We can provide a description to the Symbol() function as an optional argument. This description will make our symbols more clear.

The following example creates two symbols: firstName and lastName with values Michael and Clarke respectively:

1234
let firstName = Symbol('Michael'); console.log(firstName.toString()); let lastName = Symbol('Clarke'); console.log(lastName.toString());
copy
タスク

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

Create a symbol with the value key and store it in the variable password. Output the result.

解答

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

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

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

セクション 3.  28
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt