It did convert the value. It converted the 1 to a string and added "10" to the end of it, resulting in "110" which then was converted to a float and used.
The error in this case would be forgetting Javascript's rules of implicit conversion.
Adding a float to a string results in a string.