Git Product home page Git Product logo

Comments (13)

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by xorcus on 06/08/2016 12:58:17

It seems you and I share a common interest in JavaScript details :-)
Here are some slides of mine (in English) about prototypal inheritance. The conference video is not in English unfortunately, but you may still find the slides interesting:
http://www.slideshare.net/M...

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by Dmitri Pavlutin on 06/08/2016 13:38:10

Yep, we share both an interest for details in JavaScript.
Thanks for the slide link, it is very interesting!

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by analognico on 06/27/2016 23:29:14

Thanks for this awesome article! I just started to use ES6 classes and found part 3 especially helpful.

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by Dmitri Pavlutin on 08/06/2016 17:13:04

Sorry for the late reply. Yes, the constructor property can be an alternative.
But ES2015 provides a very useful special symbol @@hasInstance, which allows to customize how instanceof works.
Please see [this chapter] for more details.

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by analognico on 08/08/2016 00:55:36

Awesome article! I was always wondering what the new "Symbol" was all about. Your article made it perfectly clear to me!

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by Dmitri Pavlutin on 08/08/2016 05:43:05

Thanks @analognico:disqus! I find Symbols pretty interesting too, especially to hack into JavaScript 😇.

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by Selva Kumar on 05/09/2017 21:28:55

Thanks man :)

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

Comment written by James on 06/30/2017 14:29:58

`simpleObject.prototype` on Chrome 58.0.3029.110 now returns `undefined`.

from dmitripavlutin.com-comments.

shivam3596 avatar shivam3596 commented on May 28, 2024

In first example:

var obj = {};
str.constructor === Object // => true

it should be:

var obj = {};
obj.constructor === Object // => true

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

In first example:

var obj = {};
str.constructor === Object // => true

it should be:

var obj = {};
obj.constructor === Object // => true

Wow, 5 years old post and someone is reading it! :) Will fix.

from dmitripavlutin.com-comments.

Azzyxec avatar Azzyxec commented on May 28, 2024

I can't Thank You enough for the articles, they have helped me immensely

from dmitripavlutin.com-comments.

panzerdp avatar panzerdp commented on May 28, 2024

@Azzyxec You're welcome!

from dmitripavlutin.com-comments.

renssss avatar renssss commented on May 28, 2024

In the 2. must be
correctTigerClone instanceof Cat // => true
instead of
correctTigerClone instanceof Cat // => false

from dmitripavlutin.com-comments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.