Common JavaScript Mistakes and How to Avoid Them

preview_player
Показать описание
I've been coding in JavaScript for a long time. Let me take you through some of the common mistakes I've seen over the years and how to fix them 🤨

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript #webdevelopment
Рекомендации по теме
Комментарии
Автор

SUGGESTED VIDEO: THERE ARE 6 WAYS TO IMPROVE THIS JAVASCRIPT CODE 🔽

🏷 THE ULTIMATE JAVASCRIPT DOM CRASH COURSE 👇

dcode-software
Автор

What about the good old DOMContentLoaded event in the js?

KraasRas
Автор

Bro you are really awesome 👌🏼👌🏼👌🏼😊thank you so much 😊could you post video like how to handle undefined and null in js it's really weird

marimuthur
Автор

Don't you just love the error message that refers to a "constant variable"?

castletown
Автор

Gerate ....but sometimes defer not working, so i must put for example jQuery before another javascript sources cause of some collision

GIU
Автор

Your definitions of shallow and deep copy are incorrect. What you call a reference is actually a shallow copy (and a reference), while the Object.assign() is a partial deep copy :)

kristosy
Автор

Hi, for a normal object you don't think it is better to use the spreed operator {...obj} than Object.assign({}, obj), this for both readability and performance. ;)

ataru-music
visit shbcf.ru