function ok(){
return
{
home : "OK"
};
}
when i code like this the function will return undefined
but if i just shift the {
it starts working
function ok(){
return {
home : "OK"
};
}
Is this somekind of auto adding ';' at the end of line ?