JarvaScript
Welcome to JarvaScript.
Introduction
JarvaScript is a programming language used for web development.
Basic Syntax
Here are some basic concepts in JarvaScript.
JavaScript Keywords (ECMAScript 2026)
- await - Pauses async function execution until a Promise is settled.
- break - Exits a loop or switch statement early.
- case - Defines a block of code to run in a switch statement for a specific value.
- catch - Handles errors thrown in a try block.
- class - Declares a class for creating objects with shared methods and properties.
- const - Declares a block-scoped constant variable.
- continue - Skips the current loop iteration and continues with the next one.
- debugger - Invokes any available debugging functionality.
- default - Specifies the code to run if no case matches in a switch statement.
- delete - Removes a property from an object.
- do - Starts a do...while loop that executes at least once.
- else - Specifies a block of code to run if the if condition is false.
- export - Exports functions, objects, or primitives from a module.
- extends - Indicates that a class inherits from another class.
- false - Boolean value representing false.
- finally - Defines a block of code to run after try and catch, regardless of the result.
- for - Starts a for loop.
- function - Declares a function.
- if - Executes a block of code if a condition is true.
- import - Imports functions, objects, or primitives from a module.
- in - Checks if a property exists in an object.
- instanceof - Checks if an object is an instance of a constructor.
- let - Declares a block-scoped variable.
- new - Creates an instance of an object or class.
- null - Represents the intentional absence of any object value.
- return - Exits a function and optionally returns a value.
- super - Refers to the parent class constructor or methods.
- switch - Executes code based on different cases.
- this - Refers to the current object context.
- throw - Throws a custom error.
- true - Boolean value representing true.
- try - Defines a block of code to test for errors.
- typeof - Returns the type of a variable or expression.
- undefined - A variable that has not been assigned a value.
- var - Declares a function-scoped variable.
- void - Evaluates an expression and returns undefined.
- while - Starts a while loop.
- with - Extends the scope chain for a statement.
- yield - Pauses and resumes a generator function.
- using - Declares block-scoped variables that are synchronously disposed (ES2026).
- await using - Declares block-scoped variables that are asynchronously disposed (ES2026).