| 61 | } |
| 62 | |
| 63 | Value doubleEscapeFromScope(const CallbackInfo& info) { |
| 64 | Value result; |
| 65 | { |
| 66 | EscapableHandleScope scope(info.Env()); |
| 67 | result = scope.Escape(String::New(info.Env(), "inner-scope")); |
| 68 | result = scope.Escape(String::New(info.Env(), "inner-scope")); |
| 69 | } |
| 70 | return result; |
| 71 | } |
| 72 | |
| 73 | Object InitHandleScope(Env env) { |
| 74 | Object exports = Object::New(env); |