object constructor

Javascript Function

by webspicer

JavaScript

var Person = function(){
  console.log(this);  // Person
}
var joe = new Person();