what is the purpose of a return statement in a function in javascript code example Example: return statement javascript function test(arg){ return arg; }