Follow

Did you know the will actually be an int, not double (like regular numbers), and 5 / 2 will equal 2 (rounded down, no decimals)?
github.com/tc39/proposal-bigin

I'm reading about Stage 3 proposals (things almost in JS Standard, with just a bit of work left) there:
github.com/tc39/proposals

· · Web · 1 · 0 · 0

Also, const theBigInt = 2n; const regularNum = 2;
> assert(2n === 2, 'These are not equal');
AssertionError [ERR_ASSERTION]: These are not equal
> assert(2n == 2, 'These are equal');

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!