Skip to main content

JS Keyword ↔ reserved Lexical word for JS Compiler

abstract

arguments

await

JS Keyword to suspend execute JS code portion until Promise Settled & returns result

boolean

byte

case

catch

char

debugger

default

delete

do

double

else

enum

eval

export

extends

false

final

finally

float

for

goto

implements

in

int

interface

label

to prefix Statement with Identifier to call with break & continue

[<span data-tooltip-id="preview__YRERKhEoaprPGopYm">namespace</span>](namespace)

native

null

package

short

static

super

switch

synchronized

this

throws

transient

true

try

void or void

volatile

while

with

JS Keyword to extend Scope Chain of Statement . !Forbidden in Strict Mode!

yield

References

  1. functionJS Keyword to Declare function (with optional Argument Parameters)

  2. breakJS Keyword to end current loop/switch

  3. continueJS Keyword to end execution of Statement in current Iteration of loop, & continue execution with next iteration in loop

  4. importJS Keyword Declaration to import live read-only views on exports

  5. withJS Keyword to extend Scope Chain of Statement . !Forbidden in Strict Mode!

  6. throwJS Keyword Statement to stop executing current function with user-defined Exception

  7. awaitJS Keyword to suspend execute JS code portion until Promise Settled & returns result

  8. async functionJS Keyword to Declare function with Asynchronous Code to return Promise & allow await inside

  9. returnJS Keyword to specify a single Variable/Expression output from function

  10. currentcolorJS Keyword to set/inherit value of element's color CSS Property

  11. ifControl Flow JS Keyword to optionally execute Block on Boolean Context of expression

  12. letJS Keyword to Declare mutable Variable with Block Scope

  13. constJS Keyword to Declare read-only named constant Variable with Block Scope

  14. varJS Keyword to Declare mutable Variable with Function Scope

  15. whileControl Flow JS Keyword to set condition during which loop continues to execute

  16. do-whileControl Flow JS Keyword to execute once & then check condition whether to repeat

  17. set ↔ prefix JS Keyword Modifier to create Setter

  18. getJS Keyword modifier to create Getter by prefix Method definition

  19. privateJS Keyword & Property Modifier to restrict Method to within class only

  20. readonlyProperty Modifier JS Keyword to set Object property as read-only

  21. asyncJS Keyword to prepend function to allow Asynchronous Code

  22. Setterfunction to set a value, prepend class Method with set JS Keyword. Called as property literal reassignment

  23. Getterfunction to get a value, called as property literal; prepend Method with get JS Keyword

  24. ASTtree data struct to rep Source Code by organize JS Keywords for JS Engine

  25. superJS Keyword to Invoke superclass constructor()

  26. staticJS Keyword to define Static Method/property for class

  27. exportJS Keyword to export Module

  28. classJS Keyword to declare Class (as Syntactic Sugar over Constructor Function)