Common JavaScript Mistakes and How to Avoid Them

  Рет қаралды 5,543

dcode

dcode

Күн бұрын

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 🤨
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
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

Пікірлер: 13
@dcode-software
@dcode-software Жыл бұрын
SUGGESTED VIDEO: THERE ARE 6 WAYS TO IMPROVE THIS JAVASCRIPT CODE 🔽 kzbin.info/www/bejne/joHVqWCgarGSrdE 🏷 THE ULTIMATE JAVASCRIPT DOM CRASH COURSE 👇 www.udemy.com/course/the-ultimate-javascript-dom-crash-course/?referralCode=DC343E5C8ED163F337E1
@KraasRas
@KraasRas Жыл бұрын
What about the good old DOMContentLoaded event in the js?
@EnzoAuditore
@EnzoAuditore Жыл бұрын
Thanks as always mate.
@castletown999
@castletown999 Жыл бұрын
Don't you just love the error message that refers to a "constant variable"?
@marimuthur9456
@marimuthur9456 Жыл бұрын
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
@GIU153
@GIU153 Жыл бұрын
Gerate ....but sometimes defer not working , so i must put for example jQuery before another javascript sources cause of some collision
@harryBhaiFirstCommenter
@harryBhaiFirstCommenter Жыл бұрын
great video!
@PhilDiasPJD
@PhilDiasPJD Жыл бұрын
Awesome.
@cm3462
@cm3462 Жыл бұрын
fantastic
@kristosy
@kristosy 11 ай бұрын
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 :)
@ataru-music
@ataru-music Жыл бұрын
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. ;)
@alok9337
@alok9337 Жыл бұрын
did he co back?
@soyalvdev
@soyalvdev Жыл бұрын
I made all of those mistakes.
12 Things Every JavaScript Developer Should Know
14:29
dcode
Рет қаралды 10 М.
3+ Ways to Write Clean Code in JavaScript
13:33
dcode
Рет қаралды 9 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 2,3 МЛН
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 48 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 27 МЛН
Avoid These 5 Awful CSS Mistakes
20:42
Kevin Powell
Рет қаралды 189 М.
5 POWERFUL JavaScript Events You Didn't Know
10:43
dcode
Рет қаралды 15 М.
Another 5 Must Know JavaScript Array Methods
14:24
dcode
Рет қаралды 4,2 М.
5 JavaScript Mistakes You Need To Stop Making
20:10
Tech With Tim
Рет қаралды 11 М.
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
Top 10 Javascript One Liners YOU MUST KNOW!
14:16
developedbyed
Рет қаралды 192 М.
How to Move from Junior Role To Senior Developer Role
10:02
CoderOne
Рет қаралды 22 М.
JavaScript for the Haters
2:50
Fireship
Рет қаралды 1,4 МЛН
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,1 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 2,3 МЛН