On line ten after the OR the closing parenthesis for the number cast should be after "segment", but instead it got put after the zero in the less than check. This incorrectly (yet correctly, since it passes 😅) casts the boolean result of "segment < 0" to a number instead of casting the string representation of a number held in "segment" to a number before making the less than check. Otherwise great video ❤
On line ten after the OR the closing parenthesis for the number cast should be after "segment", but instead it got put after the zero in the less than check. This incorrectly (yet correctly, since it passes 😅) casts the boolean result of "segment < 0" to a number instead of casting the string representation of a number held in "segment" to a number before making the less than check. Otherwise great video ❤
ow yeah I didnt see this typo! thanks for pointing it out😁