10 JavaScript tips that can help you understand this programming language better

10 JavaScript tips that can help you understand this programming language better

·

1 min read

If you found value in this thread you will most likely enjoy my tweets too so make sure you follow me on Twitter for more information about web development and how to improve as a developer.

Get a random item from an Array

Use splice() if you want to delete an element from an array

Use map() when looping through arrays

Stop using "=="

Get a random number

The trim() method

The isFinite() method

The toFixed() method

This is a way you can empty an array in JavaScript

Destructuring

I hope found this useful and if you did please let me know. If you have any questions feel free to DM me on Twitter.