nit: We like to have whitespace around all of our operators, so like this: `[parts.length - 1]`