mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
8 years ago
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||
/*=== |
|||
object |
|||
===*/ |
|||
|
|||
function replacement() { |
|||
//console.trace();
|
|||
return null; |
|||
} |
|||
|
|||
function MyConstructor() { |
|||
return replacement(); |
|||
} |
|||
|
|||
function test() { |
|||
var O = new MyConstructor(); |
|||
print(typeof O); |
|||
} |
|||
|
|||
try { |
|||
test(); |
|||
} catch (e) { |
|||
print(e.stack || e); |
|||
} |
Loading…
Reference in new issue