Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
-
cf04d5ee18344d45da538810654690bd3936f46a (qt/qtdeclarative/5.12)
Description
Node version:
[vova7890@dell-i7 tmp]$ cat test.js
var xx = "${test}";
var ret = "$12";
var j = xx.replace("${test}", ret);
console.log('result', j);
[vova7890@dell-i7 tmp]$ node test.js
result $12
Qt version print this:
result 2
Attachments
For Gerrit Dashboard: QTBUG-73152 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250601,4 | Bring behavior of String.replace() in line with other engines | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |