Monomer object model
In order to solve the problems arrow pointing function this way to write the introduction to object mode monomer
<Script type = "text / JavaScript"> var Person = { name: 'John Doe' , Age: 18 is , // order to solve this problem arrow pointing function of launch mode monomer way to write the object FAV () { Console .log ( the this .name) } } person.fav (); </ Script>
fav(){ console.log(this.name) }