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.
15 lines
322 B
15 lines
322 B
/*
|
|
* In Duktape 0.12.0 Duktape.gc() would return a boolean value converted
|
|
* directly from an internal C return value. However, for that return value
|
|
* 0 means success so that Duktape.gc() would return false on success.
|
|
*/
|
|
|
|
/*===
|
|
true
|
|
===*/
|
|
|
|
try {
|
|
print(Duktape.gc());
|
|
} catch (e) {
|
|
print(e.stack || e);
|
|
}
|
|
|