I was learning JS using some bootcamp tutorial videos and had to finish assingments. Unfortunately those videos provided much less info than you need to know for completing their assignments and it was a real struggle to complete them with lack of information. Your way of explaining stuff is truly awesome. I understand these concepts much better now thanks to your tutorial. You explain everything really detailed. You have a talent for teaching. Thanks for these tutorial videos. Cheers!
@collinsadhola82784 жыл бұрын
i agree totally.
@xXxKingjonxXx2 жыл бұрын
was it colt's complete udemy bootcamp?
@zalodias1234 жыл бұрын
Never thought about methods being built-in functions! Interesting perspective.
@MadAustinite3 жыл бұрын
I really like this take on it as well. Helps me understand methods more and how they’re different from functions.
@WanderingNasi3 жыл бұрын
Fun fact: the spacing or capitalization of the second word, like the ones used in methods, is called "Camel Casing" since the camel's hump is taller than its head.
@none13073 жыл бұрын
thx for information
@souguess46372 жыл бұрын
Thank you my friend, it's very helpful.
@toobaadil64975 жыл бұрын
You are really great! I love the way you teach!
@BM4Dayz692 жыл бұрын
Just wanted to thank you for explaining it for a newbie
@urmo3453 жыл бұрын
deserves KUDOS someone finally explaining methods and objects using code, without cats or dogs
@trivedidhaval94446 жыл бұрын
Love your videos.. These videos helps me alot.. Thank you
@jonathancarter23475 жыл бұрын
I thumbs up every vid and will suggest you to other coders I come across. Great stuff!
@hananfadah11 ай бұрын
Thanks a lot! That was helpful spotting the difference!
@duvanxo30332 жыл бұрын
Very helpful video. Thank you so much :)
@lucyzteinn5 жыл бұрын
this lesson is just perfect
@ciceroaraujo51834 жыл бұрын
No, no. It's you that are perfect
@calibr06365 жыл бұрын
your videos are perfect for recaps
@callum64864 жыл бұрын
As soon as i saw the thumbnail i though "Elon Musk is going to teach me Properties and Methods"
@kp9743 жыл бұрын
Great explanation!! thank you!:-) now I catch the differences
@nellichoo4 жыл бұрын
i love u!! thanks for explaining properly what a method is
@bitmammothOG6 жыл бұрын
Yes he's back! :D
@erencool23674 жыл бұрын
Back again
@karstenlehmann135953 жыл бұрын
Great. Thanks for the lists, too!
@thebeardedcoder6 жыл бұрын
Excellent. All of your lessons. That dog's breathing though. LoL
@guyfinkelshtein88684 жыл бұрын
Huge props from Israel, great great channel !!
@zulfiqar79676 жыл бұрын
We need the complete Javascript and Jquery tutorials
@2vagner4 жыл бұрын
Excellent
@siten1 Жыл бұрын
How can indexOf not also be defined as a property if its "job" is to tell you the position of where certain characters are just how .length also just tells you the length of the variable. Are they not just, both essentially, telling you something about our variable? Thank you!
@aishahcarana-masiroh669111 ай бұрын
I’ll do my best to explain. The difference between methods and properties in JavaScript boil down to two simple ideas: methods are dynamic, properties are static. I’ll expand. Methods perform operations / actions on values, hence the term ‘dynamic’. In the case of indexOf() - it is not merely telling you the position of a character, it actively scans and searches the string of characters given the arguments its fed: indexOf(‘of’), with ‘of’ being the argument given, and returns the position of the string. This argument (‘of’) can be changed to a different word to find a different position in the string. It’s interactive and changing, accepting different inputs and performing unique scans / searches each time the argument is changed. On the other hand, properties are static - meaning they do not perform actions or operations. Properties, as its name suggests, can be viewed as the inherent characteristics, features, or attributes of an object. Properties store or represent information of an object. Properties give us access to information, rather than perform computational actions that return a result. In the case of .length, the information it represents (provides access to) is the length of characters: a characteristic of the string. Hope this helps.
@siten111 ай бұрын
@@aishahcarana-masiroh6691 Thank you for the explanation but length is still performing the action of counting how many characters it has in one way or another, no? I was thinking the same analogy but thinking about finding the length of something is also an "action" broke it. How I ended up viewing it, which has not broken yet, is that Properties : Look at the element as a whole, while Methods : Can look at the individual elements of that element Hopefully I make sense too lol
@moseleenone72523 жыл бұрын
good tutorial!, i realise the programming languages use similar methods, just in different syntax, easy to understand after learning python
@damarissaavedra29043 ай бұрын
Loved it, I was stuck in this subject since yesterday and your video made it super easy, FYI your links on the video are expired
@collinsadhola82784 жыл бұрын
Great stuff man!
@reckion20094 жыл бұрын
great explanation. thanks!
@alexanderbonisch58896 жыл бұрын
hyped for the next episodes ! great work, it helped me a lot! :)
@criaturaimaginaria52303 жыл бұрын
really helpful, thanks!
@gladstonross126 жыл бұрын
hope you have a Vue series soon if u use that framework. love all your vids
@mexcalgt4 жыл бұрын
Again.. Thanks a lot brother!
@mauricemorty46872 жыл бұрын
But Daniel, i don't understand i've thought a lot about it and i just can't figured out. How is "juice" in the 5th position if there was 4 item inserted. i've try it my self and i've got same result (5). but the length property still says 4. why is that? thank you for the course it is very good
@Dani_Krossing2 жыл бұрын
It is because we always start counting at 0 in programming. 🙂 So instead of 1, 2, 3, 4.... It's 0, 1, 2, 3. We call these numbers the "index", which is kinda like the "position". The reason we get "4" as the result when we use .length, is because it is counting the number of entries, and not the index. Hope this helped. 🙂
@mauricemorty46872 жыл бұрын
@@Dani_Krossing thanks Dani but i'm afraid i still don't quite understand why isn't "juice" at the 4th position instead of 5th. you pushed in an item, this item is meant to be st third podition regarding index but the length shoun't be 4?. i'm quite aware that i'm the problem here. omg i just can't figure out what is that i'm missing. 🤔 I appreciate your response Daniel, i'll study harder
@adelaionce3 жыл бұрын
Thank you so much
@free_thinker49584 жыл бұрын
Thank u so much for this great videos ❤️
@argenisaguilar90453 жыл бұрын
Thanks a million
@tnetroP5 жыл бұрын
Pop and push were stack operations in Assembler :)
@patrykkedzierski97195 жыл бұрын
Good Job
@lagyt52483 жыл бұрын
THANKS
@akshaysharma11454 жыл бұрын
Thanks
@gatts67276 жыл бұрын
Hey Daniel! Tks for the new video :) Can u share the link for all the properties and methods?
@Dani_Krossing6 жыл бұрын
Sorry forgot about that :) will add it now
@ashishaventador61425 жыл бұрын
How come the precision index of juice showed 5 ? Should have been 3 isn’t it ? Please can you explain me the last part
@saputodude5 жыл бұрын
I thought the same thing. If you just do items.push("Juice") followed by console.log(items.push()); it will give you 4 indices ["Bottle, 4, true, "Juice"]. If you include ("Juice") within the console to push that item, it seems like it pushes it twice, giving you 5 indices instead of 4. I'm new to this, so that's what it seems like to me....
@ashishaventador61425 жыл бұрын
I also thought the same, gave the same explanation to myself and continued with the course.
@Alluriah5 жыл бұрын
"The push() method adds new items to the end of an array, and returns the new length." so when he wrote items.push("Juice") it added "Juice" and returned the new length which is 4, same would have happened if he wrote instead console.log(items.push("Juice")), would have returned 4, however, he wrote console.log(items.push("Juice")) after items.push("Juice")which means juice was added once and returned array length 4 and then again and returned length 5.
@erencool23674 жыл бұрын
u deserve more viewers and subscscscribersoto THANks for epicccccccccccccc Teaching ;)
@ellen66542 жыл бұрын
Very helpful! Just wondering why the Push one at end showed up as 5 for length, I thought it’d be 3?
@chinwenduE Жыл бұрын
Me too
@soukainacharef84113 жыл бұрын
Niiice Thank U
@linnealinberg2514 жыл бұрын
var item = ["Bottle", 4, true]; items.push("Juice"); console.log(item.push("Juice")); could someone please let me know why will this result in 5? How is that counted?
@meliodass69514 жыл бұрын
by adding juice inside console log he actually added another "juice" so total amount to 5 indexes , if you were to delete 2nd one then it will count as 4; hope u understand.
@MattPPrice4 жыл бұрын
@@meliodass6951 Thank you, I also didn't understand the '5'.
@RatneshKumar-xv3gr2 жыл бұрын
5 is length of the list
@RatneshKumar-xv3gr2 жыл бұрын
While indexing it count form 0
@math2608794 жыл бұрын
*Dani Krossing* where can I finde your KZbin videos about methods and more in JavaScript ? some one send me the link please
@MSEAMP36 жыл бұрын
Thanks for the tutorial! Around 1:45 in this video you are defining item.length and I see that in addition to predictive text, a summary of the legend property displays in your editor. Is this a built in function of Atom or some extension to display these summary/description of the property? This would be very helpful for learning the purpose of each property, etc. Any advice on how to enable/where to find this? Thanks!
@GymMotivationMusicTM4 жыл бұрын
It is just Atom's property. Not an extension.
@aleksandraSwedenVlog5 жыл бұрын
thanks a lot, it is for kettles like me
@kerengan-or54186 жыл бұрын
Great video! Thank you
@Sigmaop22786 жыл бұрын
sir how to make full website in html and css please post one video of full website making
@lumennganje27215 жыл бұрын
how come this channel has only 155k subscribers. Should have more. In fact it will have 3M by the end of the year in Jesus' name Amen.
@superreverbfreak5 жыл бұрын
Lumen Nganje you honestly think that works? 🙄
@raiserjs6 жыл бұрын
is let and var is just the same?
@Dani_Krossing6 жыл бұрын
I have an episode earlier in this course where I cover let and var :)
@raiserjs6 жыл бұрын
mmtuts thank you I will watch later. ❤️
@eti3135 жыл бұрын
@@raiserjs I think he meant this one (not in this playlist) kzbin.info/www/bejne/qZrUc4Gmq6qVe7M
@Racools4 жыл бұрын
this is just like c#
@naziyakhan40963 жыл бұрын
When i entered item.length ["Botle of water"] 👆 For this instead of blah blah i got 1 Then i entered console.log(item.indexOf("of")); Instead of 7 i got -1 And when is did console.log(item.replace("water", "juice")); 🤥its telling item.replace is not a function
@NERO-ez1mn6 жыл бұрын
1 like for the list
@crazybela21015 жыл бұрын
We have one teacher that teach us java and he is idiot.. from then i dont want to do it but from when i discovered you i want to make everything
@bhabanishankardash14436 жыл бұрын
Please slow your English when you speaking sir. Very difficult to understand. Very first you speaking. I am a beginner and love to watch yr each video but yr English is very much first. Hope you understand my request.
@betzalelgoldman7796 жыл бұрын
Just in case you didn't know, you can slow down a youtube video in the youtube settings. works pretty well.