5 useful javascript tricks
TLDRIn this post, I will show you 5 awesome javascript tricks which will make your life more easier. So if you are interested, continue reading. Tricks include removing duplicates from an Array and turning a Decimal Number to an integer. Trick-4: Get a random index value from an array. Trick-5: Detect the most lengthy word in an array
Table of contents
Trick-1: Remove duplicates from an Array!Trick-2: Turn a Decimal Number to a integer.Trick-3: Getting the Last Value of an Array!Trick-4: Get a random index value from an array.Trick-5: Detect the most lengthy word in an array4 Comments
Sort: