how to access return from if javascript code example Example: return statement javascript function test(arg){ return arg; }