A Pen by Stephen Davies on CodePen.
This file contains 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); | |
}; | |
} |
This file contains 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 is a SCRIPT-8 cassette.
This file contains 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 |