Another 5 Must Know JavaScript Array Methods

  Рет қаралды 4,283

dcode

dcode

Күн бұрын

In today's video we'll take a look at 5 more must know JavaScript array methods - these include find index, unshift, map, entries and slice.
🏫 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

Пікірлер: 13
@resmem
@resmem 2 жыл бұрын
1. 0:04 - findIndex 2. 2:12 - unshift 3. 4:24 - map 4. 7:10 - entries 5. 9:11 - slice
@abubalo
@abubalo 2 жыл бұрын
Quite refreshing. I learned several useful array methods from your old javascript series.
@SwaguTube
@SwaguTube Жыл бұрын
Perfect video!
@user-fu8pd4cf6v
@user-fu8pd4cf6v Жыл бұрын
Everything is good except for a last example with object slice. I think you should've mutated score before object comparison between podium and runnerUps, so it would be easier to understand that something went wrong after we get true. Anyway, thank you for a video, cheers!
@montebont
@montebont Жыл бұрын
Nice one. But for me as a machine language programmer a Stack is where you Push (add an entry) and Pop (remove an entry) Essentially a Stack looks like an Array but it behaves differently. A stack also implements a "Label" for the basic but forbidden "GoTo" and derived mechanisms like "Break" and "Try ... Catch" which are "GoTo's in disguise". It's also the base for recursion where we add frames for each iteration,,,
@AM-nm6ts
@AM-nm6ts 2 жыл бұрын
hi !! please, 3:48 why updatedScoreCount returns the lenght of the array 6? 1/ we didn't used array.lenght 2/ I thought updatedScoreCount would return a copy of the 1st array thanks a lot
@christian-schubert
@christian-schubert 2 жыл бұрын
updatedScoreCount doesn't return anything. It's just the variable where the returned value of the unshift method is stored. Quote from the docs: "The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array."
@AM-nm6ts
@AM-nm6ts 2 жыл бұрын
@@christian-schubert thanks a lot THANK YOU for your time and response
@suelingsusu1339
@suelingsusu1339 2 жыл бұрын
👌👌👌🙏🙏🙏🖖🖖🖖🖖
@user-gu5ts5nx8r
@user-gu5ts5nx8r 2 жыл бұрын
"getting an index of an element and then finding the element itself by that index". this involves in double operations. why not use "find" method and we are done ?
@irumidesu9236
@irumidesu9236 2 жыл бұрын
Why do you need to hide your terminal at 1:45? Everyone knows that male at least have 1 sussy folder on their pc. No need to hide man
@edwardsicily
@edwardsicily 2 жыл бұрын
In vsCode?
@irumidesu9236
@irumidesu9236 2 жыл бұрын
@@edwardsicily yea
12 Things Every JavaScript Developer Should Know
14:29
dcode
Рет қаралды 10 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 11 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,8 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 30 МЛН
8 Must Know JavaScript Array Methods
10:05
Web Dev Simplified
Рет қаралды 1 МЛН
5 Real Life Examples of Array Reduce in JavaScript
12:47
20 String Methods in 7 Minutes - Beau teaches JavaScript
7:00
freeCodeCamp.org
Рет қаралды 131 М.
An array of ways ... to create arrays (JS Basics)
11:04
Andrew Burgess
Рет қаралды 1,1 М.
5 MUST KNOW JavaScript Object Functions
10:42
dcode
Рет қаралды 27 М.
#30 How to use JS Array Methods | JavaScript Full Tutorial
19:09
Dev Dreamer
Рет қаралды 11 М.
3+ Ways to Write Clean Code in JavaScript
13:33
dcode
Рет қаралды 9 М.
7 MUST KNOW JavaScript Tips and Tricks
8:58
dcode
Рет қаралды 20 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 11 МЛН