B is interpreted as a plus b where the plus. Nil value representing undefined. Here s an example of an array that contains a string a nil value an integer and an array of strings.