Promises - Beau teaches JavaScript

  Рет қаралды 29,879

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 41
@meinsouza
@meinsouza 7 жыл бұрын
damn this is confusing...
@sparshgupta8078
@sparshgupta8078 4 жыл бұрын
"promises allow you to do something as soon as an asynchronous method or action does finish instead of immediately returning the final value the asynchronous method returns a promise to supply the value at some point in the future" this point clears it all! damn so clear explanation
@ts8960
@ts8960 2 жыл бұрын
makes 0 sense dude
@ACantarela2
@ACantarela2 7 жыл бұрын
I'm loving these JS videos, even more Beau faces in the thumbnails haha
@eliweber2542
@eliweber2542 3 жыл бұрын
You can’t use a word within its own definition...
@KreativeHogwartsLegacyGUIDES
@KreativeHogwartsLegacyGUIDES 5 жыл бұрын
the more complex the idea, the harder it is to understand the beau teaches java videos. earlier videos with easy concepts were some of the best videos ive seen on the worst internet, and im not exaggerating.
@herolivesnu
@herolivesnu 3 жыл бұрын
let doWhat=new Promise((resolve,reject)=>{ let multiply=(x,y)=>x*y add=(a,b)=>a+b arr=[1,2,3]; if(arr.length>1) resolve(add((multiply(5,6),10))); reject("sorry there is a mistake") } ) doWhat.then(result=>console.log(result)) doWhat.catch(err=>console.log(err)) /* I want to log 40 on the console with the above code, pls help by telling me what is wrong with the code*/
@ekkehardehrenstein180
@ekkehardehrenstein180 6 жыл бұрын
Those promise example videos lack creativity and as a consequence don't make it very clear.
@hikiyo13
@hikiyo13 7 жыл бұрын
I love those tutorials so much
@kaypakaipa8559
@kaypakaipa8559 6 жыл бұрын
Great explanation was so confused watching other videos. The Thumbnails are killer tho😂
@sweeball
@sweeball 7 жыл бұрын
Thanks for getting me here. This vid. has been very helpful!
@ts8960
@ts8960 2 жыл бұрын
terrible explanation
@alainleclerc4523
@alainleclerc4523 3 жыл бұрын
very confusing...
@pradipta9345
@pradipta9345 3 жыл бұрын
Beautiful ❤️
@novanoskillz4151
@novanoskillz4151 3 жыл бұрын
Love your explanations… but i think you chose the most confusing example possible to explain promises.
@dannyiskandar
@dannyiskandar 6 жыл бұрын
thank you this really help clarify this concept ..promises ..promises ..ohh how can they be ..yeah :)
@sasayaki
@sasayaki 6 жыл бұрын
I came to KZbin to try and understand promises better after my class sort of confused me. I'm trying to get as many different explanations as I can to see if one of them works for me. This was a good start on the syntax so thanks!
@abdelrahman2348
@abdelrahman2348 6 жыл бұрын
so if it's resolved then will executed and if not resolved or rejected catch will execute ? is that its logic ?
@denoise_
@denoise_ 7 жыл бұрын
These thumbnails are turning into a Javascript horror movie.
@kaypakaipa8559
@kaypakaipa8559 6 жыл бұрын
Illicit Industries 😂😂i tried to stay away from this video as much i could soon as i saw the thumbnail, but seems every other video left even more confused on wat promises are. Funny enough this guy explained well enough to get the concept.
@tasoulman
@tasoulman 6 жыл бұрын
I think it is easier to user the fetch API. Am I wrong ?
@aaronargottelopez3488
@aaronargottelopez3488 4 жыл бұрын
DAnke
@ahmadabdolsaheb
@ahmadabdolsaheb 7 жыл бұрын
I'm here for the faces :)
@BeauCarnes
@BeauCarnes 7 жыл бұрын
😄 😁 😆 😴 🙄 🤔😋 😜 😝
@oolumee
@oolumee 5 жыл бұрын
When will be the time I can finally use my code not for good.
@Anbualex
@Anbualex 7 жыл бұрын
OMG this may have made my JS game work better. Awesome!!
@anag2125
@anag2125 4 жыл бұрын
Love all your videos. Thank u so much!!! :D
@thenecroyeti1
@thenecroyeti1 7 жыл бұрын
The ordering of this series is a little off. Teaching switch statements then promises?! I bit of a leap there...
@BeauCarnes
@BeauCarnes 7 жыл бұрын
That's just to keep things interesting for me. Eventually I hope to have a complete JavaScript series. Check this forum for the plan and to offer suggestions: forum.freecodecamp.com/t/topic-suggestions-for-beau-teaches-javascript-on-fcc-youtube-channel/89344/3
@randomdeveloper6456
@randomdeveloper6456 7 жыл бұрын
Beau Carnes May I use your videos as reference to start a portuguese (my Native Lang) teaching channel ? I like the idea of learn teaching.
@worldbosspf1
@worldbosspf1 7 жыл бұрын
thanks man I now understand this.
@hpineroo
@hpineroo 7 жыл бұрын
This can be a way that several web services uses for 'undo' buttons work?
@theluanvuong5886
@theluanvuong5886 7 жыл бұрын
So, guys, when are the React and SASS courses come out ?
@BeauCarnes
@BeauCarnes 7 жыл бұрын
I am planning on doing React. No plans for SASS as of yet since right now I'm just focussing on JavaScript.
@andrewkiminhwan
@andrewkiminhwan 7 жыл бұрын
Im a fan Beau! and your slight boston accent?
@BeauCarnes
@BeauCarnes 7 жыл бұрын
Actually I've lived in Michigan most my life. Some people have said I have an accent, though. I'm not sure where it is from. 😄
@DevanSisson
@DevanSisson 7 жыл бұрын
Beau Carnes same problem I have. Apparently I have an accent and I've lived in Utah my whole life.
@naruto5437
@naruto5437 7 жыл бұрын
this was great...
@jarrettklink4097
@jarrettklink4097 7 жыл бұрын
I guess I'm a tiny bit confused. Where would you use this? As in, what situation?
@grandpowr
@grandpowr 7 жыл бұрын
When you need to work on Asynchronous type of situations (like the final project Simon's Game). They're actually very useful because you can control with .then() how your code will work and can catch an error as well. If you still have issues then read the book "You Don't Know Javascript" they explain Promises and in which situations you use it.
Desktop Notifications - Beau teaches JavaScript
4:30
freeCodeCamp.org
Рет қаралды 24 М.
Objects - Beau teaches JavaScript
8:40
freeCodeCamp.org
Рет қаралды 42 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,8 МЛН
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН
Async + Await in JavaScript, talk from Wes Bos
15:52
freeCodeCamp.org
Рет қаралды 117 М.
Strict Mode - "use strict" - Beau teaches JavaScript
6:16
freeCodeCamp.org
Рет қаралды 48 М.
Functions - Beau teaches JavaScript
7:18
freeCodeCamp.org
Рет қаралды 69 М.
Promises - Javascript In Depth
52:03
Tech with Nader
Рет қаралды 5 М.
What are JavaScript PROMISES? 🤞
12:37
Bro Code
Рет қаралды 65 М.
JavaScript Promises  -- Tutorial for Beginners
37:05
ColorCode
Рет қаралды 125 М.
How do Promises and Async/Await work in JavaScript [2022]?
11:59
Carlos Azaustre - Aprende JavaScript
Рет қаралды 196 М.
Copying Arrays (deep and shallow) - Beau teaches JavaScript
5:56
freeCodeCamp.org
Рет қаралды 45 М.
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН