This is a SCRIPT-8 cassette.
View gist:141c8f1052ac73c0e4f438328186cc2c
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 |
View arrowFuncs.js
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(); | |
} |
View script.js
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); | |
}; | |
} |
View ZYQxPm.markdown
ZYQxPm
A Pen by Stephen Davies on CodePen.