SyncJS types

JavaScript was originally designed with the goal of avoiding the need to determine the type of its runtime variables at design time.

Turns out that real programmers love types. Except when they don’t. So, JavaScript has evolved ovcer time to support a hybrid typization strategy, in which base elementary variables are type-less, while objects may have a specific type.

SyncJS takes full advantage of this. Some functions accept type-less parameters, and at the same time SyncJS objects have well-defined and strongly-typed interfaces. This section of the manual explains and documents these specific types and interfaces.