About 254,000 results
Open links in new tab
  1. JavaScript Syntax - W3Schools

    JavaScript syntax is the set of rules, how JavaScript programs are constructed: The JavaScript syntax defines two types of values: Fixed values are called Literals. Variable values are called Variables. The two most important syntax rules for fixed values are: 1. Numbers are written with or without decimals: 2.

  2. JavaScript Object Properties - W3Schools

    The getOwnPropertyNames() method returns all properties. The Object.keys() method returns all enumerable properties. If you define object properties without enumerable:false, the two methods will return the same.

  3. Working with objects - JavaScript | MDN - MDN Web Docs

    Apr 3, 2025 · JavaScript is designed on an object-based paradigm. An object is a collection of properties, and a property is an association between a name (or key) and a value. A property's value can be a function, in which case the property is known as a method.

  4. JavaScript reference - JavaScript | MDN - MDN Web Docs

    Mar 7, 2025 · Once you have a firm grasp of the fundamentals, you can use the reference to get more details on individual objects and language constructs. JavaScript standard built-in objects, along with their methods and properties. JavaScript statements and declarations. JavaScript expressions and operators. ?. ?? JavaScript functions. JavaScript classes.

  5. JavaScript syntax - Wikipedia

    JavaScript borrows most of its syntax from Java, but also inherits from Awk and Perl, with some indirect influence from Self in its object prototype system. JavaScript is case sensitive. It is common to start the name of a constructor with a capitalized letter, and the name of a function or variable with a lower-case letter. Example:

  6. Properties - The complete JavaScript Tutorial

    In this article, I want to dig much deeper into the concept of object properties and how they can be used. Properties are like variables: They are declared with a name, and used to contain a piece of data. But while variables usually exist in the global space, a property is declared on an object.

  7. JavaScript Syntax: Basics, Variables, Functions & More

    Mar 24, 2025 · In JavaScript, syntax dictates how you structure statements, declarations, and expressions so that your code can be understood and executed properly by the JavaScript engine. A variable is a named container that stores data. In JavaScript, you have three main ways to declare variables.

  8. JavaScript Cheat Sheets

    JavaScript and ReactJS Cheat Sheets is a web application that provides a quick reference guide to the syntax, methods, and properties of JavaScript. It is designed for developers and learners who need a handy and concise resource for common JavaScript tasks, such as manipulating arrays, working with dates, handling errors, and creating classes.

  9. JavaScript Syntax (With Examples)

    Learn JavaScript syntax with examples to master coding basics. Understand key concepts and write efficient scripts with our easy-to-follow guide.

  10. 100+ JavaScript Terms Every Developer Must Know in 2025 (With …

    JavaScript is no longer just a scripting language for browsers — it’s the beating heart of modern web development, backend services, native apps, IoT, and even AI tooling. ... 1. ⚙ Syntax & Keywords (15 Terms) var, let, const. ... Check if property exists or object is instance of constructor. delete. Removes object properties.

  11. Some results have been removed
Refresh