01-29-2023 09:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
01-29-2023 09:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

Accepted Solutions
01-29-2023 11:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-29-2023 11:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
01-29-2023 11:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-29-2023 11:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
02-03-2023 09:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-03-2023 09:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
