theme(s) / editor / tutorial(s)
Comments | // this is a one-line comment /* this comment could contain linebreaks */ |
Expressions | built from +, -, *, /, pow(x,y), sqrt(), PI, E, log(), floor(), ceil(), random(), sin(), cos(), tan(), atan() and constants, variables, functions |
Objects (hash tables) |
object = {attribute:expression, method:function} a = {x:2, y:3, s:function(){return this.x+this.y}} a.x is 3, a["x"] is 3, a.s() is 5 |