mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
248 B
17 lines
248 B
/*---
|
|
{
|
|
"custom": true
|
|
}
|
|
---*/
|
|
|
|
var t;
|
|
|
|
/*===
|
|
666f6fe188b4
|
|
102 111 111 4660
|
|
===*/
|
|
|
|
print(Duktape.enc('hex', 'foo\u1234'));
|
|
|
|
t = '' + Duktape.dec('hex', '666f6fe188b4');
|
|
print(t.charCodeAt(0), t.charCodeAt(1), t.charCodeAt(2), t.charCodeAt(3));
|
|
|