summaryrefslogtreecommitdiff
path: root/src/node_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_api.cc')
-rw-r--r--src/node_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_api.cc b/src/node_api.cc
index 0c8abd0998..8978997480 100644
--- a/src/node_api.cc
+++ b/src/node_api.cc
@@ -2546,7 +2546,7 @@ napi_status napi_create_arraybuffer(napi_env env,
v8::ArrayBuffer::New(isolate, byte_length);
// Optionally return a pointer to the buffer's data, to avoid another call to
- // retreive it.
+ // retrieve it.
if (data != nullptr) {
*data = buffer->GetContents().Data();
}