mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
JSON.parse behaves as we want for numbers but for strings, we would
throw an error like 'unexpected token at position 0'. This meant we
couldn't read back the value set by `$input.data('val', 'text')`.