Add array methods
Function declaration