archives

« Bugzilla Issues Index

#291 — Don’t use the variable name “posInt” for signed integers


Example: ECMA-262, Sect. 9.5:

Let posInt be sign(number) * floor(abs(number)).

posInt suggests “positive integer”. It’s probably better to use a different name.


Fixed in ES2015.