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
208 B
17 lines
208 B
10 years ago
|
function test() {
|
||
|
var b = Duktape.Buffer(4096);
|
||
|
var i;
|
||
|
|
||
|
print(typeof b);
|
||
|
|
||
|
for (i = 0; i < 1e8; i++) {
|
||
|
b[100] = 123;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
try {
|
||
|
test();
|
||
|
} catch (e) {
|
||
|
print(e.stack || e);
|
||
|
}
|