diff options
Diffstat (limited to 'src/README.md')
-rw-r--r-- | src/README.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/README.md b/src/README.md index a3a6a71aa55..079326cd200 100644 --- a/src/README.md +++ b/src/README.md @@ -146,9 +146,7 @@ v8::Local<v8::Value> GetFoo(v8::Local<v8::Context> context, // The 'foo_string' handle cannot be returned from this function because // it is not “escaped” with `.Escape()`. v8::Local<v8::String> foo_string = - v8::String::NewFromUtf8(isolate, - "foo", - v8::NewStringType::kNormal).ToLocalChecked(); + v8::String::NewFromUtf8(isolate, "foo").ToLocalChecked(); v8::Local<v8::Value> return_value; if (obj->Get(context, foo_string).ToLocal(&return_value)) { |