summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests/string-concatenation.js
AgeCommit message (Collapse)Author
2022-01-18LibJS: Combine UTF-16 surrogate pairs when concatenating stringsTimothy Flynn
In the following use case: "\ud834" + "\udf06" We were previously combining these as two individual code points. When concatenating strings, we must take care to combine the high surrogate from the left-hand side with the low surrogate from the right-hand side.