Deprecated: Function create_function() is deprecated in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/plugins/wp-automatic/wp-automatic.php on line 70

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; COUNT_CLASS has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/functions.php on line 1713

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sidebar_generator has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/plugins/multiple_sidebars.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_video_widgets has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/video.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_soundcloud has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/soundcloud.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_counter_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-counter.php on line 9

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_news_in_pic has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/new-in-pic.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Flickr_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/flickr.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_fb_likebox has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/fb.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_google_follow has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/google-follow.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_popular has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/popular-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_recent_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/recent-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_cate_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/category-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; tabs_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/tabs.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_youtube_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/youtube-subscribe.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_social_links has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-links.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_comments_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/comments.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_author_bio has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/bio-author.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_login has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/login.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_search_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/search.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_120_600_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads120.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_125_125_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads125.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_250_250_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads250.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_300_300_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads300.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_tweets_load has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/twittes.php on line 10

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; feedburner_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/newsletter.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_related has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/related.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_slider has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/slider.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_top_rate has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/top-review.php on line 6
Object Oriented JavaScript Tutorial #10 – Prototype | D4mations.com
  • Sunday , 28 February 2021

Object Oriented JavaScript Tutorial #10 – Prototype

Code Canyon



Hey gang, in this object oriented JavaScript video, we’ll be looking at the prototype object and how we can use it to give our objects methods.

πŸ±β€πŸ’» Course Links:

– VS Code editor – https://code.visualstudio.com/
– GitHub repository (course files) – https://github.com/iamshaunjp/object-oriented-js
– JavaScript for Beginners – https://www.youtube.com/watch?v=qoSksQ4s_hg&list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

πŸ€‘ Donate @ https://www.paypal.me/thenetninja

πŸŽ“Find me on Udemy @ https://www.udemy.com/user/47fd83f6-5e4a-4e87-a0f0-519ac51f91b6/

πŸ‘Ύ Video thumbnail artwork by PixelSwish @ https://www.youtube.com/channel/UCGKSD3mitWl5UpMxZzaIrRA

Original source

3d Ocean

Related Posts

24 Comments

  1. Pari Star
    December 17, 2019 at 07:54

    #programming

  2. taro
    December 17, 2019 at 07:54

    thanks!

  3. Neshat Ademi
    December 17, 2019 at 07:54

    After so many tutorials and online courses I've finally understand the OOJ especially prototypes! Which means, the netninja is the best teacher on YouTube!

    Thank you very much!

  4. 1stinfamous
    December 17, 2019 at 07:54

    Thanks mate for your explanations from France πŸ‡«πŸ‡· !

  5. 0the0ambient0
    December 17, 2019 at 07:54

    Excellent description

  6. Bilal Malik
    December 17, 2019 at 07:54

    very nice explanation.
    Thanks Ninja

  7. simon oates
    December 17, 2019 at 07:54

    Boy, I've looked at lots of videos and this is the best.

  8. Selcuk ONUK
    December 17, 2019 at 07:54

    The best explanation of prototypes. Thanks a lot.

  9. Steven Barnes
    December 17, 2019 at 07:54

    Why should we use prototype instead of just including the function within the User function as that also worked? What are the advantages of doing this?

  10. Hua Trung
    December 17, 2019 at 07:54

    very clearly ! thank you !

  11. Daniel Dias
    December 17, 2019 at 07:54

    could we put:
    user.__proto__.login = function(){…}

    ?

  12. Felix T.
    December 17, 2019 at 07:54

    Great tutorial, thank you very much!
    I have one question: why don't you create an object for the User.prototype like User.prototype = { login(){…}, logout(){…}} ?

  13. Sarvar Sharapov
    December 17, 2019 at 07:54

    very precise and understandable explanations. Thank you

  14. abhineet
    December 17, 2019 at 07:54

    Better way to define custom prototype:
    User.prototype = {
    login(){
    this.online = true;
    console.log(this.email, 'has logged in');
    },
    logout(){
    this.online = false;
    console.log(this.email, 'has logged out');
    }
    }

  15. Nelson Ongiti
    December 17, 2019 at 07:54

    Hi i have finished your OOP please if you know of any start ups that can use a rockie i would like to join. I am Nelson From nairobi Kenya

  16. CODERS NEVER QUIT
    December 17, 2019 at 07:54

    Hey shaun your videos are amazing… Can you teach us about tensorflow.js only js expert can teach us

  17. HabelFoc _
    December 17, 2019 at 07:54

    Why we cannot use 'arrow function' on creating prototype? anyone?

    i try to use like this but, but seem like they don't recognize 'this' keyword? (return undefined)

    User.prototype.login = () => {
    this.online = true;
    console.log(this.email, 'has logged in');
    }

  18. David Eugene
    December 17, 2019 at 07:54

    Really excellent!

  19. David Eugene
    December 17, 2019 at 07:54

    Salut le Monde πŸ™‚

    Merci beaucoup πŸ˜‰

  20. Fortune Ekeruo
    December 17, 2019 at 07:54

    Wow, this is awesome! Thanks Ninja

  21. Raymond Michael
    December 17, 2019 at 07:54

    Two simultaneously notification ~ ninja videos.
    Thanks bro

  22. Gururaj Moger
    December 17, 2019 at 07:54

    Please do more on javascript programmings..

  23. King Rayhan
    December 17, 2019 at 07:54

    Hey netninja, where are part 1 ~10 ?

Leave A Comment

You must be logged in to post a comment.