JavaScript Problem: What is the Output?

  Рет қаралды 1,404

All Things JavaScript, LLC

All Things JavaScript, LLC

Күн бұрын

In this tutorial we are going to look at a code snippet I saw in the learnJavaScript subreddit. It is great for testing three pieces of JavaScript knowledge which are: an understanding of Sets; the use of the rest/spread operator; and the use of the reduce array method.
Would you like to help keep this channel going?
www.patreon.co...
Unlimited access to EVERY course for one low price: allthingsjavas...
Access to EVERY course via subscription (get 2 months free): www.skillshare...
Courses offered on Udemy at a discount (access from my site): allthingsjavasc...
Tutorials referred to in this video:
The spread operator: • Using the JavaScript S...
Understanding Sets: • JavaScript Problem: Us...
Reduce method: • The Magic of the reduc...
Arrow functions: • Arrow Functions
For more resources on JavaScript:
www.allthingsja...
#javascript #AllThingsJavaScriptLLC

Пікірлер: 10
@arunkaiser
@arunkaiser 3 жыл бұрын
Today whole day I took your courses only 😍 from Udemy and KZbin ▶️
@AllThingsJavaScript
@AllThingsJavaScript 3 жыл бұрын
Thanks!!
@akshay__sood
@akshay__sood 4 жыл бұрын
Without watching- My answer is 25 After watching- My answer matched with your, yay!
@udayasrireddygangappagari2990
@udayasrireddygangappagari2990 4 жыл бұрын
Howw
@polliluiz
@polliluiz 4 жыл бұрын
Thank you Steven. Really an excellent video.
@dhaneshdhanawade
@dhaneshdhanawade 4 жыл бұрын
Please take more tricky examples
@rolandpierrelouis4013
@rolandpierrelouis4013 4 жыл бұрын
Thank you for your cool lessons. Do you teach about Design Patterns in JS please ?
@AllThingsJavaScript
@AllThingsJavaScript 4 жыл бұрын
I've done some tutorials on patterns: kzbin.info/aero/PLTo9PCskHpbFyc3v6ALjvb8HuzHsvt43r Are there specific design patterns you need?
@razeev4685
@razeev4685 4 жыл бұрын
I am very confused regarding the fetch API . Why there are two ".then" and How response and data parameter is used to fetch the actual data from the server?
@AllThingsJavaScript
@AllThingsJavaScript 4 жыл бұрын
Fetch returns a promise, so we use the first .then for that promise. Then we need to use the json method to convert to JSON. That also returns a promise, so we need another .then. I hope that helps.
JavaScript Problem: Counting the Number of Occurrences in an Array
8:00
All Things JavaScript, LLC
Рет қаралды 24 М.
JavaScript Problem: Remove Every nth Element from an Array
12:29
All Things JavaScript, LLC
Рет қаралды 3,2 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 50 МЛН
Inheritance in JavaScript - Prototypal Inheritance tutorial
20:06
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Deciphering JavaScript: Why Does this Recursive Function Work the Way it Does?
15:12
All Things JavaScript, LLC
Рет қаралды 1,7 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
JavaScript Fundamentals: Merging Objects with Object.assign()
11:30
All Things JavaScript, LLC
Рет қаралды 1,2 М.
Tips and Tricks for Debugging JavaScript
13:03
James Q Quick
Рет қаралды 411 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 221 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,7 МЛН
JavaScript Question: What is the Double Bang?
7:03
All Things JavaScript, LLC
Рет қаралды 1,4 М.