Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upArray.prototype.toLocaleString uses comma space separator instead of just comma #6361
Comments
|
Per spec this is implementation defined, but: Should change be consistent - very easy fix change to use GetCommaDisplayString instead of GetCommaSpaceDisplayString here: Updating tests that use this may take a little while though - tagging as good first issue. |
|
Hi, could i work on this? |
|
@muhdmud, sorry for the late reply - surely you can, let me know if you need any guidance on this. |
|
@ppenzin yes thank you for the opportunity! I will have a go at it this week |
|
@ppenzin Can I just submit a WIP pr with that oneliner change, then subsequently work on the tests? I assume the tests that i am suppose to be looking at is at chakracore/test/string concats, please correct me if im wrong |
|
@muhdmud Sorry for late reply. Yes, that would be great! |
I run following code in ch 1.11.15, the result of ChakraCore is different from other js engines. Though in specification, “string-concatenation” is not defined clearly, other engines’ output is same.
Code:
output of ch:
"Fire, , Wind, Rain"
output of other engines:
"Fire,,Wind,Rain"
ISec Lab
2019.12.21