01-29-2023 09:08
01-29-2023 09:08
Hi, maybe a stupid question... but could anybody tell me which JS standard the fitbit SDK is based on?
Answered! Go to the Best Answer.
01-29-2023 11:20
01-29-2023 11:20
The watch runs ECMAScript 5.1, but with various extensions (mainly, I think, related to class and async).
I suspect that the companion runs within a WebView component which is maintained by the operating system, so it may be able to run more up-to-date code.
The SDK itself uses whatever version of node.js you've installed.
01-29-2023 11:20
01-29-2023 11:20
The watch runs ECMAScript 5.1, but with various extensions (mainly, I think, related to class and async).
I suspect that the companion runs within a WebView component which is maintained by the operating system, so it may be able to run more up-to-date code.
The SDK itself uses whatever version of node.js you've installed.
02-03-2023 09:21
02-03-2023 09:21
I think I recall reading that Fitbit OS uses "JerryScript" but I'm not sure if that's still the case. It is indeed based on ECMAScript 5.1