CanadaHonk / proposal-math-clamp

A TC39 proposal to add Math.clamp
https://canadahonk.github.io/proposal-math-clamp/
MIT License
36 stars 1 forks source link

BigInt support? #11

Open CanadaHonk opened 1 day ago

CanadaHonk commented 1 day ago

needs more discussion. cc @ljharb

ljharb commented 1 day ago

I think it would be a great potential change to make (only needed before stage 2.7) to allow 2-3 BigInts, instead of only 2-3 Numbers.

Richienb commented 1 day ago

Should the change be made here, or in a separate proposal along with Math.min and Math.max?