summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/fromCharCode.js
blob: 971878372d30973e4f0c58c0bbe49c65aee19534 (plain)
1
2
3
4
5
6
7
8
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/

for (var i = 0; i <= 0xFFFF; i++) {
    assertEq(String.fromCharCode(i).charCodeAt(0), i);
}