When we are creating an array of numbers using the split method, we're effectively creating string values. This is an issue when we're looking to impliment any kind of logic using these "numbers". Since the values are of a string type, comparing two "numbers" will result in unexpected behaviour.
To convert a string to a number, you must run some kind of math filter, eg. plus: 0 or times: 1. But in the following example, I'll show you that this doesn't work.