This is a SCRIPT-8 cassette.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Hyper Configurtion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var x = { | |
| name:'Steve', | |
| hello:function(){ | |
| var that = this; | |
| var helper = function(){ | |
| console.log('X Name ',that.name); | |
| }; | |
| helper(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Person(name, age, job) { | |
| this.name = name; | |
| this.age = age; | |
| this.job = job; | |
| this.sayName = function() { | |
| console.log(this.name); | |
| }; | |
| } |
A Pen by Stephen Davies on CodePen.