Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
function-cloning-1.js
blob: 92511b15bdcd3038324f7cff3e97c93f0ff86a67 [
file
] [
log
] [
blame
]
var
g
=
newGlobal
();
var
f1
=
g
.
evaluate
(
"(function (x) { function inner() {}; })"
);
gczeal
(
2
,
1
);
// Exercise all the edge cases in cloning, please.
var
f2
=
clone
(
f1
);