Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow an object's Symbols to be observed (vuejs#6704)
Attempting to parseFloat on a Symbol throws the error `Cannot convert a Symbol value to a string`. A Symbol can be cast to a string using `.toString()` or `String()` though, so explicitly casting before parsing resolves the issue, allowing `Vue.set` to be called on Symbols.
- Loading branch information