DEV Community

Discussion on: Most Useful JavaScript functions for Web Developers

Collapse
 
perssondennis profile image
Dennis Persson

I agree that it's important to understand prototypes in js, you should definitely teach about it.

But I think it will just confuse the target audience of this article. Begginer level developers who wants to learn about map and filters have no chance to understand how the prototype works by looking at a one liner example like that.

Thread Thread
 
suchintan profile image
SUCHINTAN DAS

Yes Dennis, I know it may be little bit difficult for the beginners to understand the prototypes in js.

That's the reason I only used the the structure avoiding too much explanation of it. In this way they will have the idea that the prototype structure is a bit complicated and that's why we use the first one on each of them.

It's like I introduced them that there are prototypes in JavaScript but knowing more about it comes as a choice to them.