Skip to content

Take the tour

Five steps, all runnable. Edit any example and press Run — it compiles with the real Super.js compiler.

Step 1 / 5

Null safety

In Super.js, T? is the only nullable type — a plain string can never be null. Use ?? and ?. to handle the nullable case; the compiler makes you.

playground.sjs

Press Run to compile