splash image

May 22, 2025Ask AI

TypeScript and JavaScript keywords

While learning TypeScript -- an ongoing process -- I sometimes struggle to find the canonical docs in the Handbook. So today, I asked grok to generate a list of TypeScript and JavaScript keywords and links to their docs.

Thank you all MDN and TypeScript contributors. 🙏

TypeScript

Keyword Description Docs
any Represents any type, bypassing type checking any
as Performs type assertion or const assertion type assertions
asserts Used in type predicates to assert a condition assertion functions
bigint Represents large integers bigint
boolean Represents true or false values boolean
declare Specifies ambient declarations ambient declarations
enum Defines a set of named constants enums
extends Extending types. cf JavaScript extends extends interface
infer Infers a type variable in conditional types infer types
is Used in type predicates type predicates
keyof Creates a type from an object’s keys keyof types
module Declares a module (similar to namespace) modules
namespace Organizes code in a named scope namespaces
never Represents values that never occur never
number Represents numeric values number
object Represents non-primitive types object
out Specifies variance in generic types variance annotations
override Ensures a method overrides a base class method override
readonly Prevents reassignment of properties readonly
satisfies Ensures a value matches a type without casting satisfies operator
string Represents string values string
symbol Represents unique identifiers symbol
type Defines a type alias type aliases
undefined Represents an undefined value undefined
unique Used with symbols for unique types unique symbol
unknown Represents values of unknown type unknown

JavaScript

Keyword Description Docs
async Declares an asynchronous function async function
await Pauses async function until a promise resolves await
break Exits a loop or switch statement break
case Defines a case in a switch statement switch
catch Handles exceptions in a try-catch block try...catch
class Declares a class class
const Declares a block-scoped, read-only variable const
continue Skips to the next iteration of a loop continue
debugger Invokes a debugging breakpoint debugger
default Specifies the default case in a switch or export switch
delete Deletes a property from an object delete
do Starts a do-while loop do...while
else Specifies alternative execution in an if statement if...else
export Exports a module member export
extends Indicates inheritance in classes extends
false Boolean literal for false Boolean
finally Executes after a try-catch block try...catch
for Creates a loop (for, for...of, for...in) for
function Declares a function function
get Defines a getter method get
if Conditional statement if...else
implements Reserved in JavaScript; specifies interface implementation in TypeScript implements
import Imports module members import
in Checks if a property exists in an object in
instanceof Tests if an object is an instance of a constructor instanceof
interface Reserved in JavaScript; defines type contracts in TypeScript interface
let Declares a block-scoped variable let
new Creates an instance of a constructor new
null Represents the absence of a value null
package Reserved in JavaScript; not used in TypeScript strict mode
private Reserved in JavaScript; restricts access in TypeScript private
protected Reserved in JavaScript; allows subclass access in TypeScript protected
public Reserved in JavaScript; allows unrestricted access in TypeScript public
return Exits a function and returns a value return
set Defines a setter method set
static Defines static class members static
super Refers to the parent class super
switch Evaluates an expression against multiple cases switch
this Refers to the current object context this
throw Throws an exception throw
true Boolean literal for true Boolean
try Attempts execution that may throw an error try...catch
typeof Returns the type of a value typeof
var Declares a variable (function or global scope) var
void Evaluates an expression without returning a value void
while Creates a while loop while
with Extends the scope chain (deprecated) with
yield Pauses and returns a value from a generator yield
debug

user: anonymous

{
  "path": "/blog/typescript-and-javascript-keywords",
  "attrs": {
    "title": "TypeScript and JavaScript keywords",
    "date": "2025-05-22",
    "layout": "BlogPostLayout",
    "splash": {
      "image": "/images/boston.webp"
    }
  },
  "md": "# TypeScript and JavaScript keywords\n\nWhile learning TypeScript -- an ongoing process -- I sometimes struggle to find the canonical docs in the Handbook. So today, I [asked grok](https://grok.com/share/bGVnYWN5_127524d5-f310-452e-9245-dcf9f0452ca0) to generate a list of TypeScript and JavaScript keywords and links to their docs.\n\n> Thank you all MDN and TypeScript contributors. 🙏\n\n## TypeScript\n| Keyword | Description | Docs |\n|---------|-------------|----------------------------|\n| `any` | Represents any type, bypassing type checking | [any](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any) |\n| `as` | Performs type assertion or const assertion | [type assertions](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions) |\n| `asserts` | Used in type predicates to assert a condition | [assertion functions](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions) |\n| `bigint` | Represents large integers | [bigint](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#bigint) |\n| `boolean` | Represents true or false values | [boolean](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#boolean) |\n| `declare` | Specifies ambient declarations | [ambient declarations](https://www.typescriptlang.org/docs/handbook/2/modules.html#ambient-modules) |\n| `enum` | Defines a set of named constants | [enums](https://www.typescriptlang.org/docs/handbook/enums.html) |\n| `extends` | Extending types. cf JavaScript extends | [extends interface](https://www.typescriptlang.org/docs/handbook/2/objects.html#extending-types) |\n| `infer` | Infers a type variable in conditional types | [infer types](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#infer-from-conditional-types) |\n| `is` | Used in type predicates | [type predicates](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) |\n| `keyof` | Creates a type from an object’s keys | [keyof types](https://www.typescriptlang.org/docs/handbook/2/keyof-types.html) |\n| `module` | Declares a module (similar to namespace) | [modules](https://www.typescriptlang.org/docs/handbook/2/modules.html) |\n| `namespace` | Organizes code in a named scope | [namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html) |\n| `never` | Represents values that never occur | [never](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#never) |\n| `number` | Represents numeric values | [number](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#number) |\n| `object` | Represents non-primitive types | [object](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#object) |\n| `out` | Specifies variance in generic types | [variance annotations](https://www.typescriptlang.org/docs/handbook/2/generics.html#variance-annotations) |\n| `override` | Ensures a method overrides a base class method | [override](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag) |\n| `readonly` | Prevents reassignment of properties | [readonly](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#readonly) |\n| `satisfies` | Ensures a value matches a type without casting | [satisfies operator](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator) |\n| `string` | Represents string values | [string](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#string) |\n| `symbol` | Represents unique identifiers | [symbol](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#symbol) |\n| `type` | Defines a type alias | [type aliases](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases) |\n| `undefined` | Represents an undefined value | [undefined](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#undefined) |\n| `unique` | Used with symbols for unique types | [unique symbol](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#unique-symbol) |\n| `unknown` | Represents values of unknown type | [unknown](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#unknown) |\n\n## JavaScript\n| Keyword | Description | Docs |\n|---------|-------------|----------------------------|\n| `async` | Declares an asynchronous function | [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) |\n| `await` | Pauses async function until a promise resolves | [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) |\n| `break` | Exits a loop or switch statement | [break](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/break) |\n| `case` | Defines a case in a switch statement | [switch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) |\n| `catch` | Handles exceptions in a try-catch block | [try...catch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch) |\n| `class` | Declares a class | [class](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) |\n| `const` | Declares a block-scoped, read-only variable | [const](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const) |\n| `continue` | Skips to the next iteration of a loop | [continue](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/continue) |\n| `debugger` | Invokes a debugging breakpoint | [debugger](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger) |\n| `default` | Specifies the default case in a switch or export | [switch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) |\n| `delete` | Deletes a property from an object | [delete](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete) |\n| `do` | Starts a do-while loop | [do...while](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while) |\n| `else` | Specifies alternative execution in an if statement | [if...else](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else) |\n| `export` | Exports a module member | [export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export) |\n| `extends` | Indicates inheritance in classes | [extends](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/extends) |\n| `false` | Boolean literal for false | [Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) |\n| `finally` | Executes after a try-catch block | [try...catch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch) |\n| `for` | Creates a loop (for, for...of, for...in) | [for](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for) |\n| `function` | Declares a function | [function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function) |\n| `get` | Defines a getter method | [get](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) |\n| `if` | Conditional statement | [if...else](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else) |\n| `implements` | Reserved in JavaScript; specifies interface implementation in TypeScript | [implements](https://www.typescriptlang.org/docs/handbook/2/classes.html#implements-clauses) |\n| `import` | Imports module members | [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) |\n| `in` | Checks if a property exists in an object | [in](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in) |\n| `instanceof` | Tests if an object is an instance of a constructor | [instanceof](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof) |\n| `interface` | Reserved in JavaScript; defines type contracts in TypeScript | [interface](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#interfaces) |\n| `let` | Declares a block-scoped variable | [let](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let) |\n| `new` | Creates an instance of a constructor | [new](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new) |\n| `null` | Represents the absence of a value | [null](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null) |\n| `package` | Reserved in JavaScript; not used in TypeScript | [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) |\n| `private` | Reserved in JavaScript; restricts access in TypeScript | [private](https://www.typescriptlang.org/docs/handbook/2/classes.html#private) |\n| `protected` | Reserved in JavaScript; allows subclass access in TypeScript | [protected](https://www.typescriptlang.org/docs/handbook/2/classes.html#protected) |\n| `public` | Reserved in JavaScript; allows unrestricted access in TypeScript | [public](https://www.typescriptlang.org/docs/handbook/2/classes.html#public) |\n| `return` | Exits a function and returns a value | [return](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/return) |\n| `set` | Defines a setter method | [set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set) |\n| `static` | Defines static class members | [static](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static) |\n| `super` | Refers to the parent class | [super](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/super) |\n| `switch` | Evaluates an expression against multiple cases | [switch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) |\n| `this` | Refers to the current object context | [this](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this) |\n| `throw` | Throws an exception | [throw](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/throw) |\n| `true` | Boolean literal for true | [Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) |\n| `try` | Attempts execution that may throw an error | [try...catch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch) |\n| `typeof` | Returns the type of a value | [typeof](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof) |\n| `var` | Declares a variable (function or global scope) | [var](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var) |\n| `void` | Evaluates an expression without returning a value | [void](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void) |\n| `while` | Creates a while loop | [while](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while) |\n| `with` | Extends the scope chain (deprecated) | [with](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with) |\n| `yield` | Pauses and returns a value from a generator | [yield](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield) |\n",
  "html": "<h1>TypeScript and JavaScript keywords</h1>\n<p>While learning TypeScript -- an ongoing process -- I sometimes struggle to find the canonical docs in the Handbook. So today, I <a href=\"https://grok.com/share/bGVnYWN5_127524d5-f310-452e-9245-dcf9f0452ca0\">asked grok</a> to generate a list of TypeScript and JavaScript keywords and links to their docs.</p>\n<blockquote>\n<p>Thank you all MDN and TypeScript contributors. 🙏</p>\n</blockquote>\n<h2>TypeScript</h2>\n<table>\n<thead>\n<tr>\n<th>Keyword</th>\n<th>Description</th>\n<th>Docs</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>any</code></td>\n<td>Represents any type, bypassing type checking</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any\">any</a></td>\n</tr>\n<tr>\n<td><code>as</code></td>\n<td>Performs type assertion or const assertion</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions\">type assertions</a></td>\n</tr>\n<tr>\n<td><code>asserts</code></td>\n<td>Used in type predicates to assert a condition</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions\">assertion functions</a></td>\n</tr>\n<tr>\n<td><code>bigint</code></td>\n<td>Represents large integers</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#bigint\">bigint</a></td>\n</tr>\n<tr>\n<td><code>boolean</code></td>\n<td>Represents true or false values</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#boolean\">boolean</a></td>\n</tr>\n<tr>\n<td><code>declare</code></td>\n<td>Specifies ambient declarations</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/modules.html#ambient-modules\">ambient declarations</a></td>\n</tr>\n<tr>\n<td><code>enum</code></td>\n<td>Defines a set of named constants</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/enums.html\">enums</a></td>\n</tr>\n<tr>\n<td><code>extends</code></td>\n<td>Extending types. cf JavaScript extends</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/objects.html#extending-types\">extends interface</a></td>\n</tr>\n<tr>\n<td><code>infer</code></td>\n<td>Infers a type variable in conditional types</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#infer-from-conditional-types\">infer types</a></td>\n</tr>\n<tr>\n<td><code>is</code></td>\n<td>Used in type predicates</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates\">type predicates</a></td>\n</tr>\n<tr>\n<td><code>keyof</code></td>\n<td>Creates a type from an object’s keys</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/keyof-types.html\">keyof types</a></td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Declares a module (similar to namespace)</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/modules.html\">modules</a></td>\n</tr>\n<tr>\n<td><code>namespace</code></td>\n<td>Organizes code in a named scope</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/namespaces.html\">namespaces</a></td>\n</tr>\n<tr>\n<td><code>never</code></td>\n<td>Represents values that never occur</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#never\">never</a></td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td>Represents numeric values</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#number\">number</a></td>\n</tr>\n<tr>\n<td><code>object</code></td>\n<td>Represents non-primitive types</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#object\">object</a></td>\n</tr>\n<tr>\n<td><code>out</code></td>\n<td>Specifies variance in generic types</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/generics.html#variance-annotations\">variance annotations</a></td>\n</tr>\n<tr>\n<td><code>override</code></td>\n<td>Ensures a method overrides a base class method</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag\">override</a></td>\n</tr>\n<tr>\n<td><code>readonly</code></td>\n<td>Prevents reassignment of properties</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#readonly\">readonly</a></td>\n</tr>\n<tr>\n<td><code>satisfies</code></td>\n<td>Ensures a value matches a type without casting</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator\">satisfies operator</a></td>\n</tr>\n<tr>\n<td><code>string</code></td>\n<td>Represents string values</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#string\">string</a></td>\n</tr>\n<tr>\n<td><code>symbol</code></td>\n<td>Represents unique identifiers</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#symbol\">symbol</a></td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Defines a type alias</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases\">type aliases</a></td>\n</tr>\n<tr>\n<td><code>undefined</code></td>\n<td>Represents an undefined value</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#undefined\">undefined</a></td>\n</tr>\n<tr>\n<td><code>unique</code></td>\n<td>Used with symbols for unique types</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#unique-symbol\">unique symbol</a></td>\n</tr>\n<tr>\n<td><code>unknown</code></td>\n<td>Represents values of unknown type</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#unknown\">unknown</a></td>\n</tr>\n</tbody>\n</table>\n<h2>JavaScript</h2>\n<table>\n<thead>\n<tr>\n<th>Keyword</th>\n<th>Description</th>\n<th>Docs</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>async</code></td>\n<td>Declares an asynchronous function</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function\">async function</a></td>\n</tr>\n<tr>\n<td><code>await</code></td>\n<td>Pauses async function until a promise resolves</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await\">await</a></td>\n</tr>\n<tr>\n<td><code>break</code></td>\n<td>Exits a loop or switch statement</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/break\">break</a></td>\n</tr>\n<tr>\n<td><code>case</code></td>\n<td>Defines a case in a switch statement</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch\">switch</a></td>\n</tr>\n<tr>\n<td><code>catch</code></td>\n<td>Handles exceptions in a try-catch block</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\">try...catch</a></td>\n</tr>\n<tr>\n<td><code>class</code></td>\n<td>Declares a class</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes\">class</a></td>\n</tr>\n<tr>\n<td><code>const</code></td>\n<td>Declares a block-scoped, read-only variable</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const\">const</a></td>\n</tr>\n<tr>\n<td><code>continue</code></td>\n<td>Skips to the next iteration of a loop</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/continue\">continue</a></td>\n</tr>\n<tr>\n<td><code>debugger</code></td>\n<td>Invokes a debugging breakpoint</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger\">debugger</a></td>\n</tr>\n<tr>\n<td><code>default</code></td>\n<td>Specifies the default case in a switch or export</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch\">switch</a></td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>Deletes a property from an object</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete\">delete</a></td>\n</tr>\n<tr>\n<td><code>do</code></td>\n<td>Starts a do-while loop</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while\">do...while</a></td>\n</tr>\n<tr>\n<td><code>else</code></td>\n<td>Specifies alternative execution in an if statement</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else\">if...else</a></td>\n</tr>\n<tr>\n<td><code>export</code></td>\n<td>Exports a module member</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export\">export</a></td>\n</tr>\n<tr>\n<td><code>extends</code></td>\n<td>Indicates inheritance in classes</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/extends\">extends</a></td>\n</tr>\n<tr>\n<td><code>false</code></td>\n<td>Boolean literal for false</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\">Boolean</a></td>\n</tr>\n<tr>\n<td><code>finally</code></td>\n<td>Executes after a try-catch block</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\">try...catch</a></td>\n</tr>\n<tr>\n<td><code>for</code></td>\n<td>Creates a loop (for, for...of, for...in)</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for\">for</a></td>\n</tr>\n<tr>\n<td><code>function</code></td>\n<td>Declares a function</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function\">function</a></td>\n</tr>\n<tr>\n<td><code>get</code></td>\n<td>Defines a getter method</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get\">get</a></td>\n</tr>\n<tr>\n<td><code>if</code></td>\n<td>Conditional statement</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else\">if...else</a></td>\n</tr>\n<tr>\n<td><code>implements</code></td>\n<td>Reserved in JavaScript; specifies interface implementation in TypeScript</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/classes.html#implements-clauses\">implements</a></td>\n</tr>\n<tr>\n<td><code>import</code></td>\n<td>Imports module members</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import\">import</a></td>\n</tr>\n<tr>\n<td><code>in</code></td>\n<td>Checks if a property exists in an object</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in\">in</a></td>\n</tr>\n<tr>\n<td><code>instanceof</code></td>\n<td>Tests if an object is an instance of a constructor</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof\">instanceof</a></td>\n</tr>\n<tr>\n<td><code>interface</code></td>\n<td>Reserved in JavaScript; defines type contracts in TypeScript</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#interfaces\">interface</a></td>\n</tr>\n<tr>\n<td><code>let</code></td>\n<td>Declares a block-scoped variable</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let\">let</a></td>\n</tr>\n<tr>\n<td><code>new</code></td>\n<td>Creates an instance of a constructor</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new\">new</a></td>\n</tr>\n<tr>\n<td><code>null</code></td>\n<td>Represents the absence of a value</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\">null</a></td>\n</tr>\n<tr>\n<td><code>package</code></td>\n<td>Reserved in JavaScript; not used in TypeScript</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode\">strict mode</a></td>\n</tr>\n<tr>\n<td><code>private</code></td>\n<td>Reserved in JavaScript; restricts access in TypeScript</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/classes.html#private\">private</a></td>\n</tr>\n<tr>\n<td><code>protected</code></td>\n<td>Reserved in JavaScript; allows subclass access in TypeScript</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/classes.html#protected\">protected</a></td>\n</tr>\n<tr>\n<td><code>public</code></td>\n<td>Reserved in JavaScript; allows unrestricted access in TypeScript</td>\n<td><a href=\"https://www.typescriptlang.org/docs/handbook/2/classes.html#public\">public</a></td>\n</tr>\n<tr>\n<td><code>return</code></td>\n<td>Exits a function and returns a value</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/return\">return</a></td>\n</tr>\n<tr>\n<td><code>set</code></td>\n<td>Defines a setter method</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set\">set</a></td>\n</tr>\n<tr>\n<td><code>static</code></td>\n<td>Defines static class members</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static\">static</a></td>\n</tr>\n<tr>\n<td><code>super</code></td>\n<td>Refers to the parent class</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/super\">super</a></td>\n</tr>\n<tr>\n<td><code>switch</code></td>\n<td>Evaluates an expression against multiple cases</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch\">switch</a></td>\n</tr>\n<tr>\n<td><code>this</code></td>\n<td>Refers to the current object context</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this\">this</a></td>\n</tr>\n<tr>\n<td><code>throw</code></td>\n<td>Throws an exception</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/throw\">throw</a></td>\n</tr>\n<tr>\n<td><code>true</code></td>\n<td>Boolean literal for true</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\">Boolean</a></td>\n</tr>\n<tr>\n<td><code>try</code></td>\n<td>Attempts execution that may throw an error</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\">try...catch</a></td>\n</tr>\n<tr>\n<td><code>typeof</code></td>\n<td>Returns the type of a value</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof\">typeof</a></td>\n</tr>\n<tr>\n<td><code>var</code></td>\n<td>Declares a variable (function or global scope)</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var\">var</a></td>\n</tr>\n<tr>\n<td><code>void</code></td>\n<td>Evaluates an expression without returning a value</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void\">void</a></td>\n</tr>\n<tr>\n<td><code>while</code></td>\n<td>Creates a while loop</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while\">while</a></td>\n</tr>\n<tr>\n<td><code>with</code></td>\n<td>Extends the scope chain (deprecated)</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with\">with</a></td>\n</tr>\n<tr>\n<td><code>yield</code></td>\n<td>Pauses and returns a value from a generator</td>\n<td><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield\">yield</a></td>\n</tr>\n</tbody>\n</table>\n"
}