Literal syntax limitation: The shortcut syntax for BigInt literals
(e.g., 10n) is not supported by the script editor’s parser,
and will cause a syntax error. You must use the BigInt() constructor
with a string argument instead (e.g., BigInt("10")).
Actually, when a number is accurate, we can use that instead of a string.
Endo is not in general trying for compat with Apps Script. But packages that
will have minimal dependencies after adapting to
https://github.com/endojs/endo/pull/3008
might, such as @endo/marshal and @endo/ocapn.
Regarding Google Apps Script limitations, https://www.google.com/search?q=what+version+of+ecmascript+does+apps+script+support&oq=what+version+of+ecmascript+does+apps+script+support&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg7MgYIAhBFGDsyBggDEEUYOzIGCAQQLhhA0gEHODg4ajBqMagCALACAA&sourceid=chrome&ie=UTF-8 at one point said
Endo is not in general trying for compat with Apps Script. But packages that will have minimal dependencies after adapting to https://github.com/endojs/endo/pull/3008 might, such as
@endo/marshaland@endo/ocapn.