Swapping variables values hasn’t been that easy in JavaScript

Now with new language features Javascript swap variable values very easily. While doing laundry a thought popped up in my mind and how it relates to JavaScript. Imagine the following picture. Now how you could swap clothes from these two machines. You do need a temporary container to hold clothes from side and make the […]


Link: JavaScript Cheat Sheet

I have come across a resource that I wouldn’t only consider a cheat sheet, a reference but also a refresher. Previously we had to rely on utility libraries like underscore and lodash in order to extend JavaScript built functionalities but  with ES6, ES6 and ES7 (new version of Standardized JavaScript or EcmaScript, EcmaScript is the standard where […]