Closed Swordstone86 closed 2 years ago
Hi - Espruino doesn't support all of ES6 - there's a list of features to does/doesn't support here: http://www.espruino.com/Features
I'm going to close this as otherwise we'll just end up with hundreds of bugs for every feature in every ES version that's not implemented - there's already a feature wishlist at https://github.com/espruino/Espruino/issues/1302 where this is listed.
Functions with default parameters seem to be throwing SyntaxErrors.
Firmware version: 2v15 Web IDE version: v0.76.1
Input code:
Error:
Expected result is the function behaves normally with default parameters, and can be called any of the following ways: