Javascript - Statement Identifiers

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

19 Terms

1
New cards

break

Exits a switch or a loop

2
New cards

class

Declares a class

3
New cards

const

Declares a variable with a constant value

4
New cards

continue

Breaks one iteration (in the loop) if a specified condition occurs, and continues with the next iteration in the loop

5
New cards

debugger

Stops the execution of JavaScript, and calls (if available) the debugging function

6
New cards

do ... while

Executes a block of statements and repeats the block while a condition is true

7
New cards

for

Loops through a block of code a number of times

8
New cards

for ... in

Loops through the properties of an object

9
New cards

for ... of

Loops through the values of an iterable object

10
New cards

function

Declares a function

11
New cards

if ... else ... else if

Marks a block of statements to be executed depending on a condition

12
New cards

let

Declares a variable

13
New cards

return

Stops the execution of a function and returns a value from that function

14
New cards

switch

Marks a block of statements to be executed depending on different cases

15
New cards

throw

Throws (generates) an error

16
New cards

try ... catch ... finally

Marks the block of statements to be executed when an error occurs in a try block, and implements error handling

17
New cards

var

Declares a variable

18
New cards

Alts

Marks a block of statements to be executed while a condition is true

19
New cards

while

Marks a block of statements to be executed while a condition is true