javascript

Avoid chain variable assignments in JavaScript

Chaining variable assignments may seem fancy but have unintended consequences associated with it.

Deep copy object and array using spread operator

What is swallow copy vs deep copy?

Javascript Arrow Functions

Arrow function is the most significant change in ES6/ES2015 and since its introduction changed how JavaScript code looks and works.

Javascript Three Dots Rest and Spread Operator

Javascript three dots (...) to handle array, object and string.

Javascript Variables

Let's tackle down variable creation using var, let and const.

Reverse a string in various programming language

Reversing is a common task in programming. Different language handle this task differently.