Best of JavaScriptApril 2021

  1. 1
    Article
    Avatar of devdojoDevDojo·5y

    20 JavaScript shorthand to save time

    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?

  2. 2
    Article
    Avatar of hashnodeHashnode·5y

    New JavaScript Features ECMAScript 2021 (with examples)

    ECMAScript 2021 is the version of ECMAScript corresponding to this year. There are some useful and awesome features that have been incorporated. The new feature allows that numeric literals use underscores as separators to help to improve readability using a visual separation between groups of digits. The Promise.any() method returns a promise that will resolve as soon as one of the promises is resolved.

  3. 3
    Article
    Avatar of devtoDEV·5y

    Top 10 Javascript projects for Resume 🚀🚀

    Do you want to Kick-start a career in Cyber Security and want to know how hackers hack in real life? Join Now 200+ Members already Joinedhttps://t.me/infosecbugbountyhttps://www.facebook.com/InfosecCyberSecurity/ Join Now.

  4. 4
    Article
    Avatar of hashnodeHashnode·5y

    You (may not) Know JS

    JavaScript is a weakly-typed language, it converts two different typed variables when you use its operators. Type coercion is the process of converting value from one type to another. The best practice is to not learn that whole table and stick with using strict comparison. JavaScript got a couple of new features that make use of type coercion to work.

  5. 5
    Article
    Avatar of smashingSmashing Magazine·5y

    Vanilla JavaScript Code Snippets

    In a new series of posts, we highlight some of the useful tools and techniques for developers and designers. This time, let’s look at vanilla JavaScript code snippets. Snippets are resources and lightweight libraries to help you solve a problem without a large overhead or third-party dependencies.

  6. 6
    Article
    Avatar of dzDZone·5y

    7 JavaScript Best Practices to Improve Code Quality

    Since 2015, with the release of ES6, a new version of the ECMAScript spec has been released each year. Each iteration adds new features, new syntax, and Quality of Life improvements to the language. JavaScript engines in most browsers and Node.js quickly catch up, and it’s only fair that your code should catch up.

  7. 7
    Article
    Avatar of hashnodeHashnode·5y

    Free ultimate React resources. Zero to Hero in React

    React is a JavaScript library for building present day applications. React is utilized for taking care of the view layer and can be utilized for advancement of both web and mobile applications. This post will contain various type of resources like YouTube videos, eBook, Courses and MORE.

  8. 8
    Article
    Avatar of hashnodeHashnode·5y

    17 Javascript methods and shorthands must know

    Here I'll tell you about 13 important JavaScript methods, tricks and tips respectively. The most clear justification for learning JavaScript is on the off chance that you have any desires for turning into a web designer. Regardless of whether you haven't got your heart set on a tech vocation, being capable in JavaScript will empower you to develop sites without any preparation.

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

    3 Ways to Write Elegant JavaScript Code

    Zachary Dorcinville shares three ways to modularize and improve maintainability of your code. TypeScript alleviates many of the issues that make JavaScript an unsafe language in some cases. Separation of Concerns is always important to separate the concerns of functionality in a codebase.

  10. 10
    Article
    Avatar of devtoDEV·5y

    10 Projects to become a javascript master 🚀 + Giveaway⚡

    DevLorenzo shares with you 10 projects you can build to be from zero to hero in javascript. The projects include a word counter, a clock, a password generator and a card game. We are giving away any course you need on Udemy. Any price any course.

  11. 11
    Article
    Avatar of hashnodeHashnode·5y

    8 Useful JavaScript ES2019 Features to Know About

    The ES2019 specification may have been a smaller addition to JavaScript, but it still brought some interesting features. This tutorial will show you eight ES2019 features that can make your life easier. These features include trimStart() , trimEnd(), flat() , flatMap() , Object.fromEntries() and more.

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

    A Basic Guide To Object-Oriented Programming (OOP) patterns in JavaScript

    Classes in JavaScript do not work like traditional classes in other languages like Java or C++ instead, classes in JavaScript are just syntactic sugar of Constructor Functions. Getters and setters are basically functions that get and set a value. The body of a class is always executed in strict mode even if they are class declarations.

  13. 13
    Article
    Avatar of hashnodeHashnode·5y

    Map and Set in JavaScript for Humans

    Set is not a key/value like the Object type. Keys are just values exposed. It's iterable with forEarch method and for...of method. Prefer Map instead of {} for client-side data manipulation. There's not a silver bullet. Use them carefully.

  14. 14
    Article
    Avatar of sitepointSitePoint·5y

    What is Vitejs? An Overview of the New Front-end Build Tool

    Vite is a build tool that significantly improves the front-end development experience. You can use Vite to set up a development environment for frameworks like Vue and React. Vite is really fast, because it leverages native ES modules and doesn’t need to rebuild the whole bundle when something changes.

  15. 15
    Article
    Avatar of devtoDEV·5y

    Some Vanilla JS libraries you must try

    You can use these libraries to create rich text editors with Vanilla JS. The documentation is easy and beginner-friendly. HowlerJS is here to enhance your experience in your projects. Pushjs is a great way to implement the push notification feature. EditorJs is one of the simple and captivating libraries.

  16. 16
    Article
    Avatar of towardsdevTowards Dev·5y

    Web Storage APIs — Local Storage and Session storage

    Web Storage APIs are used by developers to store data into the browser to improve the user experience and performance of the web apps. storing this data can be done by two mechanisms: either by using the sessionStorage API and the localStorage API. Both are used for storing the data on the client-side the data is never transferred to the server while making a network request.

  17. 17
    Article
    Avatar of devtoDEV·5y

    4 awesome javascript projects worthy of your collection

    Lindelof has collected three awesome items that are worth collecting for you. You can send them to me, I like them and hope you like them too. There are a lot of beautiful landing page templates, they are built using various front-end technologies. There is also a curated list of awesome WebVR packages and resources.

  18. 18
    Article
    Avatar of devtoDEV·5y

    8 JavaScript Tips & Tricks That No One Teaches 🚀

    JavaScript is one of the coolest languages in the world and is gaining more and more popularity day by day. So the developer community has found some tricks and tips after using JS for quite a while now. Today I will share 8 Tips & Tricks With You!Functional Inheritance is the process of receiving features by applying an augmenting function to an object.

  19. 19
    Article
    Avatar of medium_jsMedium·5y

    Javascript vs Python Syntax Cheatsheet

    This cheat sheet serves as high-level comparisons between the two languages. The arithmetic operators between Javascript and Python are identical — except for one. Python is missing the strict equality/inequality operators. Since Python treats all numbers as floats (decimal numbers), you can use the double division sign to get an integer.

  20. 20
    Article
    Avatar of hashnodeHashnode·5y

    Javascript Tips and Tricks

    In this post, we will be looking at some popular and must use Javascript Tips and tricks to boost your productivity and write clean code. Getting an array of unique values is probably easier than you think in Javascript, wherein in other programming languages you have to sort the array, then iterate over to copy not duplicate values. To Resize an Array we can simply shorten the length of the array. To merge multiple objects, you can simply use the rest operator.

  21. 21
    Article
    Avatar of hashnodeHashnode·5y

    Node.js + Express Tutorial for 2021 – Getting Started with the JavaScript Web Server Framework

    Node.js with Express is a popular combo used by a lot of applications worldwide. This tutorial helps you get started with Node.JS and Express by building a simple web server. Your server will serve up an HTML page, which will be accessible by other people. Do not copy the code from the tutorial. Write the code yourself to learn better.

  22. 22
    Article
    Avatar of logrocketLogRocket·5y

    Why you should use an Electron alternative

    Electron is a cross-platform application development framework created by GitHub. Electron integrated the Chromium project and Node.js into one bundle. It exposed a generic JavaScript API for native features such as displaying dialog boxes, sending notifications, and creating notification and tray icons. The Electron framework has several critical performance issues.

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

    You Can Label a JavaScript `if` Statement

    A label is a way to name a statement or a block of code. To apply a label to a statement, start the statement with label: and whatever you put as “label” will be the label you can reference later. Using a label with break can stop a deeply nested loop or conditional and make it stop immediately.

  24. 24
    Article
    Avatar of devdojoDevDojo·5y

    Alpine JS v3

    Alpine version 3.0 will be coming soon. There will be an Alpine Day online event where the creator, Caleb Porzio, will be talking about some new things coming to Alpine. In this quick post, you can learn about some of the new features and how you can stay up-to-date.

  25. 25
    Article
    Avatar of hashnodeHashnode·5y

    50 Web Development Terms All Programmers Should Know

    Web development is a vast and burgeoning field with lots of concepts, tools, technologies, languages and terms. It's easy to get confused in all of these. In this article, I will define in a concise manner, 50 of the most widely used terms in the industry.