(画像)
prototype
プロトタイプ宣言を行います
書式
Image.prototype.★ = ◆
★=プロパティ名
◆=値
文例
Image.prototype.defWidth = 320;
上位オブジェクト
Image
説明
オブジェクトにプロパティを追加します。
サンプル1