@kherashanu
My study notes
Nothing here yet.
Nothing here yet.
Feb 20, 2021 · 1 min read · ES2015 introduced a shorthand syntax that is simply convenient syntactical sugar to write less, it helps developers write little more DRY code and is easy on the eyes once we know how it works. function getUserInfo({name, email, isActive, lastLogin})...
Join discussion
Feb 20, 2021 · 1 min read · If you have written javascript for a few weeks at least, You might have come across the issue of using a variable value as the key for an object, see the example below. // Wrong code function setObject(key, value) { return { key: value } } c...
Join discussion
Feb 20, 2021 · 1 min read · Template literal is one of the best features in modern Javascript if not the best. Once You start using them, you will forget the old way of concatenating strings together just for including values from variables, etc. Before var welcome_message = "H...
Join discussion
Feb 19, 2021 · 4 min read · ES2015 introduced two new keywords for declaring variables - var and const. Thus including the original var. Thus, now we have three keywords for declaring variables in Javascript. Before we understand the difference between var, let, and const, we n...
Join discussion