summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_util.cc')
-rw-r--r--src/node_util.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node_util.cc b/src/node_util.cc
index a1387353e3..8279a787d7 100644
--- a/src/node_util.cc
+++ b/src/node_util.cc
@@ -141,6 +141,12 @@ void Initialize(Local<Object> target,
}
#undef V
+ target->DefineOwnProperty(
+ env->context(),
+ OneByteString(env->isolate(), "pushValToArrayMax"),
+ Integer::NewFromUnsigned(env->isolate(), NODE_PUSH_VAL_TO_ARRAY_MAX),
+ v8::ReadOnly).FromJust();
+
env->SetMethod(target, "getHiddenValue", GetHiddenValue);
env->SetMethod(target, "setHiddenValue", SetHiddenValue);
env->SetMethod(target, "getProxyDetails", GetProxyDetails);