JavaScript syntax and operators Flashcards
JavaScript is a type of Java programming. (T/F)
False
Which of the following is False about JavaScript?
JavaScript is statically typed.
JavaScript is dynamically typed.
You pass functions as arguments in JavaScript.
JavaScript is weakly typed.
JavaScript is statically typed.
In JavaScript, the let keyword, allows you to create a variable with block scope, while the var keyword ONLY allows you to create function scope. (T/F)
True
Which of the following is FALSE about declarations, expressions, and statements?
Declarations are constructs that introduce identifiers
Expressions are constructs that stand for values,
Expressions must print something to the screen
Statements are constructs that perform basic actions or control the execution of the program
Expressions must print something to the screen
Which of the following is NOT a JavaScript primitive data type?
undefined
null
int
BigInt
int