Best of MediumFebruary 2022

  1. 1
    Article
    Avatar of medium_jsMedium·4y

    All in one! Javascript promises…

    Javascript promises (“Can be Fulfilled | Rejected”) can be considered as the asynchronous counter part of a getter function. Javascript is a single threaded & Only one thing can happen at a time, on a single main thread. To avoid promise chaining and to write clean code, we have async & await. Async Await acts as syntactic sugar on top of promises, making asynchronous code easier to write and read.

  2. 2
    Article
    Avatar of medium_jsMedium·4y

    Node.js Vulnerability Cheatsheet

    Cross-site scripting (XSS) attacks in the browser can lead to remote code execution (RCE) attacks. Injection happens when an application cannot properly distinguish between untrusted user data and code. Security misconfigurations can compromise the security of Node applications.

  3. 3
    Article
    Avatar of medium_jsMedium·4y

    RoadMap To JavaScript

    JavaScript is a dynamic, multi-paradigm language with built-in types and operators. It's also one of the easiest programming languages to pick up and use. You’ll be able to make games, dynamic 2D and 3D visuals, database-driven apps, and more as you gain experience.

  4. 4
    Article
    Avatar of medium_jsMedium·4y

    13 Free Resources I Use As A Self-Taught Web Developer

    I’m a self-taught web developer who has over 6.5+ years of experience working on HTML, CSS, JavaScript, Sass, Styled Components. Here are 13 resources I keep using all the time. W3Schools is optimized for learning, testing, and training. GeeksforGeeks is a Computer Science portal for geeks.

  5. 5
    Article
    Avatar of medium_jsMedium·4y

    How to Efficiently Merge Arrays in JavaScript

    The safest approach is to use the concat method of an Array object to merge two Arrays. If speed is critical, you may consider using the spread syntax and the Array object’s push method. The concat function is the de-facto standard for merging arrays in JavaScript.

  6. 6
    Article
    Avatar of medium_jsMedium·4y

    Story of a Failed React Project

    Mohammad Faisal shares his story of a failed React startup. He explains why the project failed and the reasons behind it. He also explains why he is still working on a React project today. The story is not a proud one, but it made him who he is today.