ECMA Alignment
How Tish maps to ECMA-262 and test262.
This page summarizes Tish behavior relative to ECMA-262. Each concept has a decision: Follow, Omit, or Simplify.
Types
- Undefined → Null (Tish uses
nullonly;typeof nullreturns"null", not"object") - Boolean, Number, String, Object — Follow
- No Symbol, BigInt in MVP
Equality and coercion
- Strict equality only (
===,!==) - No loose equality (
==) - No implicit coercion
Expressions and statements
Builtins
Tish-specific
fn/function— both supported- Optional braces (indentation)
- Tab/space normalized
- No
this,with,eval - No
var—let/constonly
For the full alignment document, see the tish/docs/ecma-alignment.md in the tish repo.