Math.TAU
Thaddee Tyl
thaddee.tyl at gmail.com
Thu Jul 3 00:47:28 PDT 2014
On Wed, Jul 2, 2014 at 5:52 PM, A Matías Quezada <amatiasq at gmail.com> wrote:
> 1. Use Math.PI * 2 everywhere
> 2. Create a TAU constant on every file
> 3. Create a TAU constant on a single file and require this file from
> everywhere just for this
4. Do Math.TAU = Math.PI * 2 once somewhere. It even works in node.js,
inside of the same process, leaking through require()s.
And some do it:
<https://github.com/search?q=%22Math.TAU%22&type=Code&ref=searchresults>
More information about the es-discuss
mailing list