このコード スニペットは、新しいオブジェクトを作成するためのものです。IE 9 以外の他のブラウザーでも問題なく動作します。
function Item(no, name, qty, lineNo) {¬
this.no = no;¬
this.name = name;¬
this.qty = qty;¬
this.lineNo = lineNo;¬
}¬
Item.prototype = Object.create(null);¬ // error this line
どうすればこれを修正できますか?