Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Outputting Multiple Values | Getting Started
Introduction to JavaScript

bookOutputting Multiple Values

Summary

  • Argument: a piece of data or an expression that is passed into a statement;
  • Syntax: the set of rules that define the correct structure of statements or code in a programming language;
  • The syntax of the console.log statement is as follows:
console.log(argument1, argument2, …);
question mark

Which of the following statements follows the correct syntax?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 8

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you give more examples of using multiple arguments with console.log?

What is the difference between an argument and a parameter?

Can you explain more about syntax in programming?

Awesome!

Completion rate improved to 1.33

bookOutputting Multiple Values

Swipe to show menu

Summary

  • Argument: a piece of data or an expression that is passed into a statement;
  • Syntax: the set of rules that define the correct structure of statements or code in a programming language;
  • The syntax of the console.log statement is as follows:
console.log(argument1, argument2, …);
question mark

Which of the following statements follows the correct syntax?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 8
some-alt