JavaScript Keywords

JavaScript Keywords

Table of contents

No heading

No headings in the article.

Keywords are reserved words that are part of the syntax in the programming language. For example,

const a = 'hello';

Here, const is a keyword that denotes that a is a constant.

Keywords cannot be used to name identifiers.

Here is the list of keywords available in JavaScript.

await

break

case

catch

class

const

continue

debugger

default

delete

do

else

enum

export

extends

false

finally

for

function

if

implements

import

in

instanceof

interface

let

new

null

package

private

protected

public

return

super

switch

static

this

throw

try

true

typeof

var

void

while

with

yield