JavaScript
JavaScript in Sciter is a superset of ES2020 specification.
Here is the list of extra features added to JS core by Sciter:
Predefined constants:
__FILE__- url of current file that is being compiled;__DIR__- folder part of the__FILE__, always ends with/;__FUNC__- function name being compiled if available, otherwise one of<anonymous>,<eval>,<script>or<module>;__LINE__- line number in source file;
Data Persitence:
Built-in (JS runtime integrated) persistence, see Storage.
Reactive and Components support:
- Built-in JSX support, on native parser level. Do not need any preprocessors for JSX literals;
- Integrated Reactive Components support. Note this covers as ReactJS as WebComponent support in one unified mechanism;
- Native Signals support. Signals are reactive primitives for managing application state.