Skip to content
xkp edited this page Aug 18, 2011 · 1 revision

Methods are well know, in xs they look like:

method Identifier '(' args ')' [:Type] { ... }

Sample:

method foo(bar)
{
    alert(bar);
} 

Clone this wiki locally