// a function definition
var multiply = function(a,b) { a*b }
// and calling a function
$print( multiply(2,3) + "\n");