Single Choice Not Set

QThe names of the "function" and "var" are:

ID: #4828 Python Basic MCQ 197 views
Question Info
#4828Q ID
Not SetDifficulty
Python Basic MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Keywords
  • B Data types
  • C Declaration statements
  • D Prototypes
Correct Answer

Explanation

The "function" and "var" both are the Declaration statements.
The function and var keywords are both used to declare variables and functions in JavaScript.
For example:
var y = 10;
This code declares a variable y and initializes it with the value 10.

Share This Question

Challenge a friend or share with your study group.