About 83,200 results
Open links in new tab
  1. 25+ JavaScript Shorthand Coding Techniques - SitePoint

    Nov 15, 2024 · Become a faster developer and check out this guide to shorthand JavaScript coding techniques, with longhand versions for comparison.

  2. javascript - Shorthand for if-else statement - Stack Overflow

    Aug 20, 2014 · The ternary operator lets us write shorthand if..else statements exactly like you want. It looks like: (name === 'true') - our condition? - the ternary operator itself 'Y' - the result …

  3. 7 JavaScript Shorthand Techniques that will Save your Time

    Jan 10, 2023 · In this article, we will discuss 7 cool shorthand tricks in JavaScript that will save the developer time. Arrow Function: JavaScript Arrow functions were introduced in ES6. The main …

  4. List of Useful JavaScript Shorthands - Telerik

    May 19, 2023 · Many new JavaScript features since 2015 which helps us write JavaScript programs in a shorter and readable fashion. The ternary operator was even available before …

  5. 18 JavaScript and TypeScript shorthands to know

    Jan 3, 2023 · In this article, we will review 18 common JavaScript and TypeScript and shorthands. We will also explore examples of how to use these shorthands. Read through these useful …

  6. Top JavaScript Shorthand Techniques - OpenReplay

    Sep 19, 2022 · Object loop shorthand. The conventional JavaScript for loop syntax is for (let i = 0; i < x; i++) { … }. By referencing the array length for the iterator, this loop syntax may be used …

  7. 15+ JavaScript Shorthand Coding Techniques for Beginners

    May 31, 2015 · This article includes a round-up of some popular JavaScript shorthand coding techniques for beginners, which can be good for code optimization or minification purposes. …

  8. Mastering JavaScript Shorthands - DEV Community

    Jul 26, 2023 · Today, we'll explore the art of JavaScript shorthands - nifty techniques that make your code more concise and elegant. We'll dive into real use case examples in both vanilla …

  9. JavaScript Shorthand Secrets— Ultimate Cheat-Sheet

    Oct 30, 2023 · Here are some common JavaScript shorthand techniques with examples to help simplify and streamline your code: 1. Variable Declarations. Let’s start with the basics. When …

  10. JavaScript Shorthand Syntax: Boosting Developer Efficiency

    Jun 29, 2023 · Shorthand syntax refers to a compact and abbreviated way of writing code. In JavaScript, it provides a set of shortcuts that allow developers to express complex operations …

  11. Some results have been removed