print 'Hello YKazu'

('Python', 'Javascript')

コンストラクタのプロパティ

// コンストラクタ
var Car = function(id){
    this.id = id;
    this.type = "truck";
}
console.log(Car.id);   // undefined
console.log(Car.type); // undefined

Car.id = 3;            
Car.type = 'sedan';

console.log(Car.id);   // 3
console.log(Car.type); // sedan

// インスタンス化
cx5 = new Car(808);

console.log(cx5.id);   // 808
console.log(cx5.type); // truck

cx5.id = 909;
cx5.type = "suv";

console.log(cx5.id);   // 909
console.log(cx5.type); // suv