Fixed a bug where castToPrimitive() would return 12 when value is e.g. 12iaw instead of keeping it as a string
castToPrimitive()
12
12iaw