DomenicDenicola/qunit — comment on commit 6f9ff2f49ac6ba001f96bbe83336b0b5b83724f8
File: test/same.js line 142
By prathe:

I think the preferred way to do this in JavaScript is:

if (typeof Object.create === 'function') {