//same behaviour as math.pow except implemented in this language (the math.pow uses math.h pow)
func pow(base,$exp)
{
if(exp == undefined)
exp = 2;
}
num = 1;
for(i = 0;i<exp;i++)
num *= base;
console.writeln(num);
pow(5,2);