JScript ユーザーズ ガイド、高度なオブジェクト作成
まんま
var myObject = new Object(); var myBirthday = new Date(1961, 5, 10);
まんま
function Circle (xPoint, yPoint, radius) { this.x = xPoint; this.y = yPoint; this.r = radius; } var aCircle = new Circle(5, 11, 99);
まんま
var myObject = new Object(); var myBirthday = new Date(1961, 5, 10);
まんま
function Circle (xPoint, yPoint, radius) { this.x = xPoint; this.y = yPoint; this.r = radius; } var aCircle = new Circle(5, 11, 99);