This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
Keys containing 'toString' may have surprising results #1708
Labels
Status: Review Needed
Request for review comments
Reporting a bug?
$te('foo.bar.toString')
returnstrue
whenfoo.bar
messages does not contain a keytoString
$t('foo.bar.toString')
returnsObject.prototype.toString
whenfoo.bar
messages does not contain a keytoString
Expected behavior
$te('foo.bar.toString')
should returnfalse
whenfoo.bar
messages does not contain a keytoString
$t('foo.bar.toString')
should return'foo.bar.toString'
whenfoo.bar
messages does not contain a keytoString
Reproduction
#1707
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: