DEV Community


Discussion on: Useful Tips & Tricks In JavaScript

kg_thebest profile image
Kaique Garcia

In the "Check Array" section I think you forgot to put the function in the example...
Am I right? :s

And if you accept a tiny suggestion, please post links to documentations about any function you mentioned. In this case, I'd do like this:

const array = [1, 2, 3];
const object = {"0": 1, "1": 2, "2": 3}
Array.isArray(array); // true
Array.isArray(object); // false
Enter fullscreen mode Exit fullscreen mode

Array.isArray() Reference

animeshdhanuk profile image
Animesh Dhanuk Author

Ohh Yes, forgot it 😂 and i got your point will add links to all things to its referance in my future post.

Thanks budday

kg_thebest profile image
Kaique Garcia

Also there's a few typos and erros in other sections too...
Whatever, I know those tips and I must say they're really good.