From Esolang
Jump to navigation Jump to search

HaltJS is a language created by User:PythonshellDebugwindow.


HaltJS has a syntax identical to that of JavaScript, with one major limitation: whenever the interpreter encounters a period in the source code, it will stop immediately. This makes things such as dot notation and floating-point literals impossible to use.

Dot Notation

Use bracket notation instead.

Floating-Point Literals

Say you wanted 2.5, do parseFloat("2" + String(1/2)[1] + "5") instead.

Hello World

console["log"]("Hello, World!");


alert("Hello, World!");

See also