SplitScript reference / Migration / Strict equality operators

Strict equality operators

Migration from JavaScript

Source pattern

  • JavaScript: ===

  • JavaScript: !==

Canonical SplitScript

  • === becomes ==.

  • !== becomes !=.

Use the canonical language and API symbols linked below.

Semantic difference

Use typed == and !=; SplitScript has no coercing equality operators, so JavaScript's extra = is unnecessary.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.

  • == (language)

  • != (language)