Brief History For years, many enterprise developers have doubted if JavaScript could serve as a workable programming language and no doubt, early JavaScript had its quirks. But all that has changed significantly now, all thanks to ES6 (also known as ECMAScript 2015). ES6 brought with it, many much-needed improvements and new […]
Javascript
The is-promise NPM package breaks the JavaScript ecosystem, whose sole purpose is to return a boolean value, didn't always return a boolean value impacting millions of projects.
For those who may not know, Google publishes a JavaScript style guide of best practices for writing JavaScript code. It lays out (at least what Google believes to be) the best practices for writing clean, understandable JavaScript code. JavaScript does not have any fixed set of rules for writing valid code, only […]
It’s almost the end of 2018 and if you are an aspiring programmer, you’ll understand this. It is not easy to choose which programming language to learn. One can easily get overwhelmed by the number of languages available. There are Python, Java, PHP, C#, C/C++, Javascript etc […]
Imagine working in a team of more than 3 developers. Although most of you should not need to imagine. It’s a ground reality for most developers in the corporate world. I assume you are also well aware of the problems we face as the team grows. And if not dealt […]
June 2015, ES6 (or ES2015)- a new version of ECMAScript was released. Among the many additions and changes, were these 2 newly added keywords- let and const. let and const were introduced in JavaScript to make variables more readable and more predictable. 3 years down the line, today, we still […]
A very common use case for Node is building servers. Node makes it very simple to create different types of servers. This can feel odd if you’re used to having a server host your application (such as a PHP application hosted on an Apache HTTP server). In Node, the server […]
Creating and using Object in JavaScript it’s really easy, an object on the other hand is like array but with the difference that you define the keys. In the JavaScript code below we have created new object called person. To practice this example we can use Google Chrome – Developer […]
Unit testing with client side JavaScript is something you don’t do until you’re made to. Of course unit testing is important but let’s be honest: most people are just happy that their code works, right? Anyways, fast forward to a world where unit testing is normal and we have a problem to solve: […]