Skip to content

Instantly share code, notes, and snippets.

View Mubarrat's full-sized avatar
🏠
Developing

Mubarrat Mubarrat

🏠
Developing
View GitHub Profile
@Mubarrat
Mubarrat / OneLinesOfUsefulJavaScriptThings.md
Last active May 3, 2024 20:18
One lines of useful JavaScript things

One lines of useful JavaScript things

Array

Check if a variable is an Array

const isArray = Array.isArray(arr);