Although x is an array (it allows for individual elements to be accessed), the foreach loop can be thought of as a map from the elements of x into the elements of y.
Please log in to leave a comment.
Although x is an array (it allows for individual elements to be accessed), the foreach loop can be thought of as a map from the elements of x into the elements of y.