Javascripts 2019. 12. 11. 00:43

https://dev.to/razgandeanu/9-extremely-powerful-javascript-hacks-4g3p

 

9 Extremely Powerful JavaScript Hacks

I have gathered 9 useful JavaScript tricks

dev.to

Replace All

Extract Unique Values

Convert number to string

Convert string to number

Shuffle elements from array

Flatten multidimensional array

Short Circuit Conditionals

Dynamic Property Names

Use length to resize/empty an array

 

posted by kimsooil
: