11 JavaScript Tricks You Won’t Find in Most Tutorials

Useful tips for writing more concise and performant JavaScript

Image Credit: Igor Miske / Unsplash

When I began learning JavaScript, I made a list of every time-saving trick that I found in other people’s code, on code challenge websites, and anywhere other than the tutorials I was using.

--

--

--

Writer and developer based in London. On Medium, I write about JavaScript and web development 💻

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Javascript Arrays Hiding As Regular Objects

JavaScript Kiss

Just Released — A Free eBook On Angular and Firebase

React Hooks: useReducer

Test config with typescript and mongodb-Memory-Server

IGNITE is a Frictionless Decentralized Yield Redistribution Defi Smart Contract.

How to Upgrade from React Native 0.57 to 0.59 | Part 2: Upgrading to 0.59

How To Create A Reusable Grid Component For Blazor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bret Cameron

Bret Cameron

Writer and developer based in London. On Medium, I write about JavaScript and web development 💻

More from Medium

I will convert psd, xd, figma, sketch to html css bootstrap

Get the First, Last and Middle Elements of an Array using JavaScript

HOW CSS IS APPLIED TO HTML ELEMENTS?

7 JavaScript One-Liners That Are Insanely Useful

JavaScript one liners