fixed an error in demo code for arrow_function

fixed an error in demo code for arrow_function