We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why pi is hardcoded in https://github.com/alexei/sprintf.js/blob/master/test/test.js#L10 as var pi = 3.141592653589793 where Math.PI exists which returns same number? Why to hardcode it?
pi
var pi = 3.141592653589793
Math.PI
The text was updated successfully, but these errors were encountered:
It is true that Math.PI has been present since ECMA-262, 1st edition, June 1997. Just needs a PR (hmm?)
Sorry, something went wrong.
Fix test alexei#190
a5c28a8
Successfully merging a pull request may close this issue.
Why
pi
is hardcoded in https://github.com/alexei/sprintf.js/blob/master/test/test.js#L10 asvar pi = 3.141592653589793
whereMath.PI
exists which returns same number? Why to hardcode it?The text was updated successfully, but these errors were encountered: