Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace outter{
- function foo(){}
- namespace inner{
- invoke foo();
- }
- }
- ------------
- (c) => {
- let foo = c->create_function("foo");
- foo->set_defintion(...);
- ...
- let inner = c->create_namespace("inner");
- inner->set_defintion((c) => {
- c->embed(foo());
- });
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement