About this and the lost of the context

As a javascript developer you will at one time or another find the common problem where you have something undefined because the this refers to the global window object. Let see an example: var MyObject = { name: "Loic", hello: function »

Recevez mes astuces directement dans votre inbox

* champs obligatoire