JavaScript is a dynamic computer programming language.
It is an interpreted programming language with object-oriented capabilities.
πππ‘Javascript Tips π‘ππ
π‘ Javascript Tip 1οΈβ£
The bitwise OR operator can also be used to remove any amount of digits from the end of an integer.
π‘ Javascript Tip 2οΈβ£
The πππΏπΆπ»π΄πΆπ³π() method takes two optional parameters:
π a replacer function, which you can use to filter the JSON that is displayed
π a space value
π‘ Javascript Tip 3οΈβ£
There is a very simple way to empty an array in Javascript:
π‘ Javascript Tip 4οΈβ£
We can await multiple async functions to finish by using Promise.all
π‘ Javascript Tip 5οΈβ£
Javascript ES6 Concepts
π map()
π reduce()
π filter()
Interesting illustration π
π‘ Javascript Tip 6οΈβ£
Short circuit conditionals
Note : Will be updating this post further
To get to know more technical stuff, connect with me via Twitter
Top comments (4)
I love the map(), filter(), reduce() image. reduce makes a fruit salad, lol
most of these rarely known tips are actually pretty known tips except for the first one. I did like the es6 array function fruit chart tho.
change no.3 tip image
Thanks ππ Done