LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
The JavaScript operator
^
has got another, unrelated meaning.JavaScript:
LiveScript:
I have three problems with this.
^
is an alias for another operator (**
) and is not necessary (and there isMath.pow()
too).xor
.