3 ms·
I discovered only now that the snippet is evaluated with(Math){ }. Therefore you can omit Math. on calls to methods of it and have five more extra characters at
by _Microft 6y ago
I discovered only now that the snippet is evaluated with(Math){ }. Therefore you can omit Math. on calls to methods of it and have five more extra characters at your disposal. Strange that they did not mention this in the tutorial. It seems rather important as the budget is super-limited.
- _Microft 6y agoSigh, it is actually there. My mistake. // skip `Math.` to use methods // and props like `sin` or `PI`