I think `parts[parts.length - 1]` is faster than `slice`, even if it's less "fun" ;)