Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
Stay Down Dev Log - Part 9 - Destructuring Objects
3 years ago
20
frank poth
html5
js
css
javascript
html5 game
programming tutorial
pothonprogramming
learn programming
programming
code
In this entry in my little game dev tutorial series I'm just cleaning up my code a bit with JavaScript's Destructuring Assignment syntax. This is a great way to break out the useful parts of large objects to make your code more readable with much less dot walking. You can do more with destructuring, but in this video I just use it for basic assignment.
What you can glean from this video:
00:01:10 - Destructuring a BIG object
00:05:00 - Cleaning up the rest of the code
00:13:40 - Destructuring "this"
Thanks for watching! Like and Subscribe for more videos and definitely check out the website for more content!
https://pothonprogramming.github.io
Loading comments...
-
56:52
Poth On Programming
3 years agoStay Down Dev Log - Part 14 - Background Graphics!
20 -
50:45
Poth On Programming
3 years agoStay Down Dev Log - Part 15 - Custom Text Graphics
44 -
47:58
Poth On Programming
3 years agoStay Down Dev Log - Part 1 - Gravity, Friction, Hit The Ground!
77 -
29:04
Poth On Programming
3 years agoStay Down Dev Log - Part 10 - Fit Canvas To Window
19 -
29:04
Poth On Programming
3 years agoStay Down Dev Log - Part 2 - Keyboard Controls, Running and Jumping!
42 -
3:43
The Daily Caller
3 years agoLee Objects
14.4K37 -
11:24
MECRAGG
4 years ago $0.10 earnedPART 1 :: HOW COSMOLOGY SETS DOWN AUTHORITY
138 -
0:52
biskuitsandgravy
4 years agoMagic art stay tuned for part 2
123 -
10:44
Drawing with Cheesecake the Cat
4 years agoHow to Draw Desert Objects
65 -
10:15
myjewelrybench
4 years agoBlender 2.9/2.8 Multiple Objects follow a curve!
48