A newer version of javascript introduced in 2015. Also known as ECMAScript 2015 or ECMAScript 6
(© https://www.twilio.com/blog/2015/10/asyncawait-the-hero-javascript-deserved.html)
Singletons are fairly controversial as far as I can tell, especially in Javascript programming. Let's take a look at what they are, when to (maybe) use them, and when not to.
👉 This article has been updated and republished, read the latest version here
In this article, I will be explaining in depth how the copyToClipboard snippet from 30 seconds of code works. You can find the source code for it and a ton of other useful methods in the project’s repository.
The browser world we live in today is pretty great. You can use promises and fetch and arrow functions and const and let — all the hip new gear — and it will work in every major browser. No polyfills, no transpiling, it will Just Work.
Understand Javascript Spread and rest operators
5 Must-Know Features in JavaScript ES2022: Enhance Your Code and Boost Your Productivity
This article will present examples of ECMAScript (ES) modules—what you can achieve with them and where you will hit some limitations.
“In these unprecedented times…” People build unprecedented products, and contribute to the internet in unprecedented ways. Go on, make a fellow human’s day and nominate the best YOUR best of 2020’s tech industry for a 2020 #Noonie, the tech industry’s most independent and community-driven awards: NOONIES.TECH. One such impressive human is Oleksandr Demian from Italy: 2020 Noonie nominee in Future Heroes and Technology categories.
A Proxy object is an object that wraps another object and intercepts fundamental operations on it, such as property access, assignment, and deletion
We’re only three months into the new decade and we’ve already had the threat of WW3, Australia being on fire, and an outbreak of a new Coronavirus. Surprisingly, it’s the latter that has forced many people to isolate themselves at home.
This article is about latest ecma script or ES22 update of at() method of array. at() method of array is used for getting the value based on index
This article is for those who use ES6 syntax along with Webpack. After I started using Javascript with Webpack I met a lot of unexpected errors. All of them were because of ES6 syntax usage. Those of you who decided to start javascript using "Classes" or you need to use ESlint I'll try to explain how to save some time. In short, it's all about loaders.
Everything happens within spaces and Environments. Basic knowledge of javascript is highly recommended, before proceeding with this content.
Introduction to new ES6 javascript feature - Arrow Functions.
Jumping on learning React is easy, but you'll hit your head hardly later on if you are not yet familiar with these 4 key concepts detailed in this article.
One of the greatest things introduced in ES6 was the let
variable initialization. Why is it better then var
? Let's see.
Classes in javascript were first introduced as part of ECMAScript 6 standard back in 2015. Today, they feel like something natural, but how was javascript before them?
You can’t officially do it, but you can write a function that does virtually the same thing. Let’s see how and maybe why you should.
const keyword was first introduced in javascript as part of ECMAScript 6 standard back in 2015. It probably the most popular way of declaring a variable in javascript, but how was javascript before them?
Here are the use cases for iterators and generators that are closer to the real-world scenario than a simple "Hello World" type code.
One of the things that make React quite intimidating for new users is that there are some concepts that need to be grasped before jumping in.
It’s been over 10 years since the release of CoffeeScript and after a decade, it seems we can state that this innovative idea became completely forgotten by the front-end developers community.
How to reduce javascript bundle size of web application by dynamically importing es6/javascript modules
If you have a considerable amount of experience with JavaScript, you are expected to solve complex coding challenges.
Objects
Symbol, the brand new primitive type for JavaScript is worth to know more for each single front-end hacker.
Destructuring is a very simple concept in javascript, it allows you to pull out some variables from object/array, but it has a lot of features. Here are some cool things you can do with it!
In one of my many deep-dives about JavaScript, I came across generators. They looked interesting.
For me this is one of the strangest things I did in my life, talk to you about what is it for me one of the most complex languages that I have worked with. Javascript is something really strange when you compare it with other languages.
Before ES6(ECMAScript 2015), we have used single quotes('...') and double quotes("...") to wrap string literals. A simple example is,
I am sure you have played tictactoe as a child. In this article, we will build tictactoe using plain JavaScript step by step. Let's go!
Once upon a time, we could simply put an HTML and a script file into an FTP server, quickly have a working website and call it a day.
Imagine that you don't need any compiler or bundler to prepare your NPM package written in ES2020 standard. Yes, you can.
React is build on top of pure Javascript for the most part. Here you will learn about 10 Javascript concepts that will help you write better React code.
JavaScript typed arrays are array-like objects that provide a mechanism for reading and writing raw binary data in memory buffers. As you may already know, Array objects grow and shrink dynamically and can have any JavaScript value. JavaScript engines perform optimizations so that these arrays are fast.
Let’s understand a bit of the theory behind the module pattern and the purpose it serves on implementing this pattern. The Module pattern was originally defined as a way to provide both private and public encapsulation for classes.
JavaScript is a complex language. If you’re a JavaScript developer at any level, it’s important to understand its foundational concepts. This article tackles 12 concepts that are critical for any JS developer to understand, but in no way represents the full breadth of what a JS developer should know.
I will be continuously updating this list in a Github repository called JS Tips & Tidbits. Please star ⭐ and share if you want to follow along!
(JavaScript Class Privacy — Or Lack Thereof)
Guide to TypeScript tsconfig.json. Settings explanation. Tips and tricks. Each new project I prefer to write on TS rather than native JavaScript.
Here I have hand-picked some of the most useful code snippets from 30 seconds of code. It’s an awesome resource, go ahead and show it some love.
Visit the /Learn Repo to find the most read stories about any technology.