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

Output 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