This code snippet is to create new object, it works fine on other browsers but 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
How can I fix this ?