-
break:
Terminates a loop, `switch`, or labeled statement, transferring
control out of the block.
-
case:
Defines conditions in a `switch` statement. Executes if the
given value matches a `case`.
-
catch:
Used in error handling with `try`. If an exception occurs, the
`catch` block executes.
-
class:
Defines a class, serving as a template for creating objects with
properties and methods.
-
continue:
Skips the current iteration of a loop and moves to the next one.
-
delete:
Removes a property from an object.
-
finally:
Executes code after a `try`...`catch`, regardless of whether an
error occurred.
-
function:
Declares a JavaScript function.
-
return:
Exits a function and optionally returns a value.
These keywords are essential for writing efficient JavaScript
code.