use `.valueOf` instead of `.toString.call`

> The valueOf() method returns the primitive value of the specified object.