Replace array shorthand