sentences:  In this example, an array is created that holds the values 1 through 10 using the 'array.range' function.Then the 'map' method of arrays is used on 'a', and it takes a function literal which returns the square of its parameter.This literal syntax is again inspired by functional languages (such as Haskell) and is shorthand for the following