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.
19 lines
250 B
19 lines
250 B
|
|
/*---
|
|
{
|
|
"custom": true
|
|
}
|
|
---*/
|
|
|
|
var t;
|
|
|
|
/*===
|
|
666f6fe188b4
|
|
102 111 111 4660
|
|
===*/
|
|
|
|
print(__duk__.enc('hex', 'foo\u1234'));
|
|
|
|
t = '' + __duk__.dec('hex', '666f6fe188b4');
|
|
print(t.charCodeAt(0), t.charCodeAt(1), t.charCodeAt(2), t.charCodeAt(3));
|
|
|
|
|