Skip to content

Instantly share code, notes, and snippets.

Stephen Matthew Davies stevematdavies

Block or report user

Report or block stevematdavies

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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);
};
}
You can’t perform that action at this time.