return statements javascript code example Example: return statement javascript function test(arg){ return arg; }