Introduction - Introduction to Javascript - Review
13 important questions on Introduction - Introduction to Javascript - Review
Where is the console.log() method used for?
What is a Library?
What is the structure of a Library?
Math.random()
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
Which method calls for the string length?
What does Math.floor() print?
When is the datatype Null printed?
Give the five Arithmetic Operators
- Optellen: +
- Aftrekken: -
- Vermenigvuldigen: *
- Delen: /
- Modulo: %
How does an Assignment Operator work?
What are the 4 Assignment Operators?
- Optellen: +=
- Aftrekken: -=
- Vermenigvuldigen: *=
- Delen: /=
x += y -> x=x+y
let number=100
number += 10
number = number+10
number=110
In which two ways can you add a variable in the middle of a sentence?
- 'Tommy is' + age + 'years old.' (String interpolation)
- 'Tommy is $ {age} years old.' (String concatenation)
Why do variables ensure code reusability?
When will Undefined appear?
let a
console.log(a) ->undefined
Which three keywords can be used to declare a variable?
- Var
- Let (preferred)
- Const
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding