Getting Comfortable with the ES5 Array Methods in JavaScript

  Рет қаралды 6,103

All Things JavaScript, LLC

All Things JavaScript, LLC

Күн бұрын

Пікірлер: 25
@dansmar_2414
@dansmar_2414 2 жыл бұрын
Coming here five years after the upload of this tutorial video. I just found it amazing! Thanks for creating such great contents
@RameenFallschirmjager
@RameenFallschirmjager 4 жыл бұрын
You deserve much more broader fan base! Your tutorials are amazingly understandable!
@mymusic7262
@mymusic7262 3 жыл бұрын
Thank you - This is better than what I was looking for - Really well explained.
@_yllw6155
@_yllw6155 3 жыл бұрын
really great video.
@jainshilpi3
@jainshilpi3 7 жыл бұрын
waoo thanku ,you are a great teacher can you please share some more complex examples by implementing these methods?
@AllThingsJavaScript
@AllThingsJavaScript 7 жыл бұрын
Here are some additional tutorials that use these methods while teaching other concepts. If there is a specific one you would like more on, let me know. kzbin.info/www/bejne/jmmUpqCXg62hf80 kzbin.info/www/bejne/Y2iycn2de6d0aLM kzbin.info/www/bejne/l6ezeot3m9mdaJY kzbin.info/www/bejne/gJrbhYybeLGZarM
@jainshilpi3
@jainshilpi3 7 жыл бұрын
thanku so much ,can u pls make some video related with json ,means processing the complex json as well as how to get dynamic data from json(load json from url)?
@AllThingsJavaScript
@AllThingsJavaScript 6 жыл бұрын
@@jainshilpi3 Here is a playlist with several tutorials on JSON: kzbin.info/www/bejne/hpOQaXewdrSVo8k
@zootsoot2006
@zootsoot2006 3 жыл бұрын
Great class, thank you! So the way to think about the accumulator in the anonymous function passed into the reduce method, is that it begins as the first element and then becomes whatever is returned from the function? So for the max one, if 'val' is greater than 'high;, that val then becomes the accumulator, i.e. becomes 'high' in the next iteration?
@AllThingsJavaScript
@AllThingsJavaScript 3 жыл бұрын
Yes, good summary on the accumulator.
@DanielWeikert
@DanielWeikert 6 жыл бұрын
Great work. Highly appreciated. Could you also create a video where you elaborate best practices / modern javascript (ES6,...) and which functions/methods should not be used anymore?
@AllThingsJavaScript
@AllThingsJavaScript 6 жыл бұрын
The interesting thing about best practices in JavaScript is it depends on the camp you subscribe to. There are several great ways to do things. And then there are some bad ways. I could do something on avoiding the bad ways.
@DanielWeikert
@DanielWeikert 6 жыл бұрын
Thanks for your answer
@Odisej1
@Odisej1 3 жыл бұрын
This is some serious shit. This is some good stuff.
@shravanipl5870
@shravanipl5870 6 жыл бұрын
Nice explanation ... And basically, every() is similar to "AND" operation and some() similar to "OR". Am I right?
@AllThingsJavaScript
@AllThingsJavaScript 6 жыл бұрын
You are correct!
@seenuvasanv
@seenuvasanv 7 жыл бұрын
Hello boss, what is the word you mention for filter method? Can U spell that?
@AllThingsJavaScript
@AllThingsJavaScript 7 жыл бұрын
At what point in the tutorial? Can you give me a time stamp?
@seenuvasanv
@seenuvasanv 7 жыл бұрын
@ 10:18 , pedacut function?
@AllThingsJavaScript
@AllThingsJavaScript 7 жыл бұрын
predicate function. This is a function that returns either true or false.
@seenuvasanv
@seenuvasanv 7 жыл бұрын
Thanks
@andig97
@andig97 6 жыл бұрын
At 24:20 you say the first argument is the ongoing accumulated value. So how then at 26.50 are you testing against that value to find the highest number? It doesn't make sense as the accumulator will keep increasing in size & the ternary will therefore always return as true.. and the output of 100 195 230 295... where's my logic going wrong?
@andig97
@andig97 6 жыл бұрын
awesome course by the way!
@AllThingsJavaScript
@AllThingsJavaScript 6 жыл бұрын
Remember, the accumulator is affected by the function you pass in. So the value that ends up in the accumulator is determined by the function. In the case of the second example, I'm returning to the accumulator the highest value. If it the current value is greater, that is what is returned. If the new value is greater that is what is returned. I think calling it an accumulator can throw you how, but just remember that what it accumulates it affected by what you put in the function. So you have complete control over it.
@andig97
@andig97 6 жыл бұрын
@@AllThingsJavaScript "remember that what it accumulates it affected by what you put in the function." got it! thanks
Five Important Concepts for Understanding JavaScript Constructors
14:10
All Things JavaScript, LLC
Рет қаралды 12 М.
JavaScript Problem: Combining and Sorting Objects in an Array
21:39
All Things JavaScript, LLC
Рет қаралды 4,8 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
The Magic of the reduce Array Method
15:24
All Things JavaScript, LLC
Рет қаралды 22 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 844 М.
Clean Code - Uncle Bob / Lesson 1
1:48:42
UnityCoin
Рет қаралды 2 МЛН
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 990 М.
Understanding Ownership in Rust
25:30
Let's Get Rusty
Рет қаралды 273 М.
Using split to Manipulate a JavaScript String
12:57
All Things JavaScript, LLC
Рет қаралды 8 М.
Demystifying JavaScript Closure
16:08
All Things JavaScript, LLC
Рет қаралды 27 М.
JavaScript Question: How do I Set the Prototype of an Object?
10:37
All Things JavaScript, LLC
Рет қаралды 14 М.