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
								4 years ago							
						
														21						
								
								
												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 56:52Poth On Programming4 years agoStay Down Dev Log - Part 14 - Background Graphics!20
- 	
				 50:45 50:45Poth On Programming4 years agoStay Down Dev Log - Part 15 - Custom Text Graphics46
- 	
				 47:58 47:58Poth On Programming4 years agoStay Down Dev Log - Part 1 - Gravity, Friction, Hit The Ground!84
- 	
				 29:04 29:04Poth On Programming4 years agoStay Down Dev Log - Part 10 - Fit Canvas To Window28
- 	
				 29:04 29:04Poth On Programming4 years agoStay Down Dev Log - Part 2 - Keyboard Controls, Running and Jumping!44
- 	
				 3:43 3:43The Daily Caller4 years agoLee Objects14.4K37
- 	
				 11:24 11:24MECRAGG4 years ago $0.10 earnedPART 1 :: HOW COSMOLOGY SETS DOWN AUTHORITY140
- 	
				 0:52 0:52biskuitsandgravy4 years agoMagic art stay tuned for part 2133
- 	
				 10:44 10:44Drawing with Cheesecake the Cat4 years agoHow to Draw Desert Objects65
- 	
				 10:15 10:15myjewelrybench4 years agoBlender 2.9/2.8 Multiple Objects follow a curve!49