js-temporal/temporal-polyfill

assertExists in ecmascript.ts throws if exists

adambrady-corp opened this issue · 1 comments

I'm pretty sure the condition on this DEBUG-only function is inverted (should be arg == null):

if (arg != null) {

Yep - that's right. I noticed this a couple weeks back but got side-tracked with release management. Note this doesn't affect our released code (as all the assertions are removed from that bundle).