[hotfix] Ignore type checking for edge
[platform/framework/web/wrtjs.git] / device_home / node_modules / component-inherit / test / inherit.js
1 var inherit=require("..");describe("inherit(a, b)",(function(){it("should inherit b's prototype",(function(){function n(){}function e(){}e.prototype.species="unknown",inherit(n,e);var i=new n;i.species.should.equal("unknown"),i.constructor.should.equal(n)}))}));