Best of JavaScriptMay 2021

  1. 1
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    JavaScript 2021: New Features

    JavaScript 2021: New Features. Tirlochan Arora discusses some of the new features of JavasScript that are very useful and can help us achieve more by writing less code. JavaScript has added three new logical operators to the existing collection. Integers are data types among strings, arrays, etc.

  2. 2
    Article
    Avatar of smashingSmashing Magazine·5y

    Useful VS Code Extensions For Web Developers

    Meet useful Visual Studio Code extensions for web developers. They can help you minimize slow-downs and frustrations, and boost developer’s workflow along the way. In this post, we look into useful extensions for front-end development, from fine productivity boosters to advanced debugging helpers.

  3. 3
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    Open Source Needs You

    Nearly every JavaScript tool you use is open sourced. Being a part of this momentous community may be the most rewarding and transformative experience you get to go through as an engineer. Getting yourself familiar with the open source scene will take some effort and time. There are many ways to refactor to get started.

  4. 4
    Article
    Avatar of hashnodeHashnode·5y

    7 Useful JavaScript Tricks and Tips

    JavaScript is a loosely typed language, meaning we don't have to explicitly specify types of variables. JavaScript also freely type-converts values into a type depending on the context of their use. In this article, I gathered some JavaScript tips and tricks that I believe can make you a better JavaScript developer.

  5. 5
    Article
    Avatar of phProduct Hunt·5y

    Bootstrap 5 — Stable release of worlds most popular framework - vanilla JS

    After months of waiting v5 STABLE is finally out. Watch full tutorial here. This update includes: - RTL support - jQuery removed - Vanilla JavaScript - Improved modularity - New API - New responsive font - Offcanvas component - Embed Collect - New CSS.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·5y

    Learn JavaScript - A Free 7-hour Interactive Tutorial

    Learn JavaScript - A Free 7-hour Interactive Tutorial by Per Harald Borgen. LearnJavaScript.com - A free 7-week Interactive Tutorial. Learn JavaScript - a Free 7 hour Interactive tutorial by per Haraldborgen. Visit the site to learn more about how to use JavaScript.

  7. 7
    Article
    Avatar of medium_jsMedium·5y

    Style Guide for new JavaScript Developers

    If you are a junior developer, your code may not be very efficient and clean. In this post, I will explain the 10 best practices you can do to make your code cleaner. If you use IF as a condition, make sure there is enough spacing between them. Write lots of comments in your code.

  8. 8
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    TypeScript — JavaScript with no surprises

    TypeScript is an open-source programming language introduced by Microsoft in 2012. Last year, Github marked it among the top 10 most wanted programming languages. 15% of JavaScript bugs can be detected by TypeScript, says Shivam Bhasin. The TypeScript code is compiled to vanilla JS before executing by the TypeScriptCompiler.

  9. 9
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    JavaScript — Errors and Exception Handling

    When an error occurs, the JavaScript code stops running and shows an error message. Try… catch is a block of code and it will be the solution. The err from catch(err) defines an error object and provides details of how to handle this error. When using the throw statement, we can control the flow and customize our own error.

  10. 10
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    Understand JavaScript Array Methods in 7 minutes

    understand JavaScript Array Methods in 7 Minutes. Understanding by categorizing the long-list of JavaScript array methods is a great way to comprehend these built-in methods. For eg. insertion, deletion, copying, concatenating two arrays, searching, there are multiple methods available for each of these operations.

  11. 11
    Article
    Avatar of medium_jsMedium·5y

    Sharpen your javascript skills with these topics

    Learn more about Error Handling using try-catch block that may help you to become a great programmer. Sharpen your javascript skills with these topics Shahriar Emon May 6·4 min read                            If you are a novice, you will hate errors. If you are an expert, you'll enjoy the errors because error leads you to make your program nearly flawless.

  12. 12
    Article
    Avatar of logrocketLogRocket·5y

    Getting started with Go for frontend developers

    Go is a JavaScript-based language that can be used for backend/full-stack web development. It has a set of unique features meant for highly resilient and scalable applications. Go has become a preferred language for open-source infrastructure software, with some of the largest and most popular projects being written entirely in Go.

  13. 13
    Article
    Avatar of hashnodeHashnode·5y

    Singleton Pattern in Javascript

    Singleton pattern is a design pattern that allows us to use a single instance of a class everywhere. In this article, you will learn how to implement a singleton pattern in Javascript. The Singleton object is implemented as an IIFE (Immediately Invoked Function Expression) An IIFE is a JavaScript function that runs as soon as it is defined.

  14. 14
    Article
    Avatar of logrocketLogRocket·5y

    JavaScript testing: 9 best practices to learn

    Tests act as a piece of documentation for other developers. By reading the tests you’ve created, they should get a good understanding of the purpose of the code. You want to break up the logic inside tests into three parts to make them easier to understand. The AAA pattern stands for Arrange, Act, and Assert.

  15. 15
    Article
    Avatar of css_tricksCSS-Tricks·5y

    JSON in CSS

    Jonathan Neal tweeted a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. I re-typed his example here: grotesquely, CodePen Embed Fallback is not useful. Chucking some JSON in CSS I would think is another way around CORS. I kinda doubt it will catch on, but it's possible.

  16. 16
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    Functional Programming: Closures and Memoization in JavaScript

    Functional programming is a declarative type of programming style. It is a programming paradigm in which we try to bind everything in pure mathematical functions style. A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the… developer.mozilla.org Memoization is a specific form of caching.

  17. 17
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    Learning TypeScript: Concept Overview

    TypeScript was developed by Microsoft and released in 2012. It is a superset of JavaScript, meaning it is comprised of JavaScript’s features and offers additional features as well. TypeScript is written in files with the extension .ts . All code in these files gets run through the TypeScript transcompiler.

  18. 18
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    A Quick Guide to Call, Apply and Bind Methods in JavaScript

    The call, apply and bind methods are some of the most important and often-used concepts in JavaScript. They are very closely related to the this keyword. Using a call method we can do function/method borrowing, we can borrow functions from other objects and use it with the data of some other objects. With call() you can write a method once and then inherit it in another object.

  19. 19
    Article
    Avatar of phProduct Hunt·5y

    Boring Avatars — JavaScript library to generates SVG avatars based on text.

    Boring avatars is a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette. It's free and open-source, and you can use it to create your own avatars. For more information, visit the Boring Avatars website.

  20. 20
    Article
    Avatar of freecodecampfreeCodeCamp·5y

    React for Beginners: Complete React Cheatsheet for 2021

    React for Beginners: Complete React Cheatsheet for 2021 is now available. React is an open-source, cloud-based programming framework. It was created by Reed Barger and is used by Facebook, Twitter, Google, and others. For more information on React, visit www.react.com.

  21. 21
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    Top 10 JavaScript Interview Questions

    A truthy value is like true and a falsyvalue is like false. A prime number is a natural number that is only divisible by 1 and itself. A function that is passed as an argument inside of another function is called a callback function. Find the largest element of an array using the for-loop method.

  22. 22
    Article
    Avatar of devdojoDevDojo·5y

    An ultimate guide to Regex and how to use it in JavaScript

    Data Structures: Why do we need Data Structures? Why does it make sense to use data structures to build data structures? Why is it so important to have a data structure that can be used to build a database of data? Why should we use data Structures to create data structures for data?

  23. 23
    Article
    Avatar of medium_jsMedium·5y

    Is there a faster solution than document.getElementById()?

    In 2011, during my final post-secondary exam, I had to write JavaScript functions out by hand. Is there a faster solution than document.getElementById()? Kenton de Jong says there isn't, but it's still fun to play with. He says he's never been able to do it again.

  24. 24
    Article
    Avatar of freecodecampfreeCodeCamp·5y

    The JavaScript Array Handbook – JS Array Methods Explained with Examples

    TAPAS ADHIKARY. The JavaScript Array Handbook – JS Array Methods Explained with Examples. The JS Array Handbook is available now on Amazon.com for $9.99. For more information on the Handbook, visit: http://www.joshua.com/.

  25. 25
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·5y

    What are Pure and Impure Functions in JavaScript?

    Pure functions are functions whose output strictly depends upon the input passed. Impure functions are those whose output doesn’t just depend on the input data passed. In an interview I was asked multiple variants of the pure function and I was unable to answer. So thought of writing a detailed explanation which would help audience.