You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this shouldn't be added because, as said before, it would break the consistency of Math.*. This is better suited for the Array namespace or a new namespace, which are both out of scope of this proposal. I opened this Issue just in case someone has valid (and solid) arguments for adding it.
I don't see any reason to add this because:
Math
methods don't expect arrays, the only thing similar to that is making use of rest params or the localarguments
object.However some reasons to add it may be:
Math.sum
? #4 ).I think this shouldn't be added because, as said before, it would break the consistency of
Math.*
. This is better suited for theArray
namespace or a new namespace, which are both out of scope of this proposal. I opened this Issue just in case someone has valid (and solid) arguments for adding it.Polyfill:
Wikipedia article
The text was updated successfully, but these errors were encountered: