Message from JavaScript discussions

July 2018

— Do you know how prototypes works?

— 

I thought to know, but maybe not. I try to explain how I think reading the code.

- var prototype = Object.create(RigidShape.prototype);
Here I create a new object which is an instance of RigidShape.

— - prototype.constructor = Rectangle;
Here I make Rectangle the constructor of the object I created, am I right?

Message permanent page

— Hi, im new into JS!

— Anyone know cors?

— Drop a link on this (stupid imo) tutorial

— I bet it's a new operator sect

— Https://youtu.be/wfMtDGfHWpA

— I dont like his composition code with Object.assign, but fully agree with the concept

— He cuts a lot of corners

— He doesn't write pure functional at all :3

— Maybe so it's easier to follow