Updated to reflect recent changes in Array shorthand and half-closed range operator syntax.