i\'m trying to pass array from one function to another but i\'m getting the error "Uncaught ReferenceError: arr is not defined" beside "var alpha = arr[0];&qu