I noticed that the const declaration is never used in the tutorial apps, whereas let and var are. I’ve gotten const to work but I didn’t know if there was a reason for using let instead (perhaps it’s easier to allocate memory/ reduces mutability checks?)
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I've tended to try and keep the examples as simple as possible, for developers of all levels.
You can use any language features you choose, and the build process will handle the conversion to ES 5.1 for the device.
If you spot any problems, or have feedback about a specific example we'd love to hear about it.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I've tended to try and keep the examples as simple as possible, for developers of all levels.
You can use any language features you choose, and the build process will handle the conversion to ES 5.1 for the device.
If you spot any problems, or have feedback about a specific example we'd love to hear about it.
Best Answer