This is a SCRIPT-8 cassette.
View gist:141c8f1052ac73c0e4f438328186cc2c
// Hyper Configurtion |
View arrowFuncs.js
var x = { | |
name:'Steve', | |
hello:function(){ | |
var that = this; | |
var helper = function(){ | |
console.log('X Name ',that.name); | |
}; | |
helper(); | |
} |
View script.js
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.