Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Output Using Variables 2/2 | Introduction
Introduction to JavaScript
セクション 1.  3
single

single

bookOutput Using Variables 2/2

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

タスク

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

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

解答

Summary:

  • The console.log() in JavaScript is used to display output to the users.
  • JavaScript support both single-quotes as well as double-quotes.
  • Variables can also be passed into the console.log() and they have to be separated by a comma ,.

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

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

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

セクション 1.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt