summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/jaeger/bug580931-2.js
blob: 9f18f57e02d1346f83e4030658796674eec248a7 (plain)
1
2
3
4
// |jit-test| error: TypeError
x = 0
'a'.replace(/a/, x.toLocaleString)