4.1 js datatypes Flashcards
Who originally developed JavaScript?
“Branden Eich (Netscape)”
What was JavaScript initially named?
“LiveScript”
What is the standardized name for JavaScript?
“ECMAScript (ES)”
Name three JavaScript client side frameworks
“React
Name one Javascript server side framework
“Node.js”
What are the three must learn languages for Web Programming?
“HTML5
Is JavaScript case-sensitive?
“Yes”
Is JavaScript loosely typed (or dynamically typed)?
“Yes”
What are the five primitive types in JavaScript?
“Number
What is coercion in JavaScript?
“Automatic conversion of one data type to another”
Name four ways to declare a JavaScript Variable
“Using var
What happens in Javascript when you add a number to a String?
“Concatenation”
What is the result of 1 + 2 + ‘birds’ in JavaScript?
“‘3birds’”
What is the result of ‘$’ + 3 + 4 in JavaScript?
”‘$34’”
If one operand is number, and the other cannot be converted to a number, how does < work?
“False all the time”
If operands are numbers, or all can be converted to a number, how does * work?
”* is a number multiply”