JavaScript Static Class Methods.
Article and code samples from this tutorial
* techsith.com
Please be my patreons on patreaon
* https://www.patreon.com/techsith
Follow me for technology updates
* https://facebook.com/techsith
* https://twitter.com/techsith1
Help me translate this video.
* http://www.youtube.com/timedtext_video?ref=share&v=10b6K9fORI4
Original source
25 responses to “Static Methods in JavaScript Tutorial : Object Oriented Programming Series – Part 11”
Hi Tech, could you please try to answer my question. I understand that this question isn't below to this video. But how can I make static audio frequencies in canvas using JS or React?
what is the use of static methods, apart from polluting your memory?
Why DRY in repeating same static method sellCar() again in subclass? can't we just call it from superclass?
this is wrong is class is existed in javascript
This channel is one of the best
Hit like if u figured out that it Shud be "car.price" instead of "this.price" and waiting for the error on console 😛
More I learn JS, more I realize I don't know JS.
Thanks a lot! You helped me understand static methods!
Why create a static method in the Car class vs. just a regular function in the global scope that does the same thing?
Really good explanation! Will be checking more videos from you.
But, what's the point with the static method? Why should I set a method in the static way?
Nice Videos . Very helpful
Nice and all, but I got lost at the end with those extensions and "super" thing :))
You seem to absorb topics well and also produce the content. Cheers brother
Thanks man…
Awesome,
let me:
1) static method can be call on class. – Toyota.sellCar
2) static method have object/instance as argument – Toyota.sellCar(camry)
3) static method don't have "this"
-Thank you.
awesome lectures..when you are going to launch a course on udemy?
Hi , please have a look on this fiddle – https://jsfiddle.net/vinay68/da9yf3cy/ when i run this code , it will show me a error – (intermediate value).sellCar is not a function
It's super +1
I've watched many of your videos now. I think you are one of my favorite YouTubers. You break things down to bare metal and teach with pricision. Thank you.
really love your video. hope to have time to translate to hebrew for future ppl
your lectures are really helpful. Can u please create course on AngularJS
hi Hemil, great video. thanks so much. i have a query. you say that static/class methods are like utility functions. what does that mean.. im basically trying to undrrstand why do we need these static classes… what is it that they are providing that we cant accomplish with instance classes.
You are a very good teacher. Your videos are awesome.
I have a question please.
How to become a full Stack web developer? And JavaScript expert?