Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-02 04:44:32 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-04 12:30:36 +0300
commit237cbe10fb82ba6ec69b14193a4a970e184306e7 (patch)
tree8fbbac215e1f9afcac524404e766c4157d8da145 /doc/api/v8.md
parentf7049a20068dc8a7e904b7cdd3d5b307b595dd3a (diff)
doc,tools: formalize, unify, codify default values
PR-URL: https://github.com/nodejs/node/pull/19737 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index f929fe6a03e..c18e2691f64 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -285,13 +285,11 @@ by subclasses.
#### serializer.\_setTreatArrayBufferViewsAsHostObjects(flag)
-* `flag` {boolean}
+* `flag` {boolean} **Default:** `false`
Indicate whether to treat `TypedArray` and `DataView` objects as
host objects, i.e. pass them to [`serializer._writeHostObject()`][].
-The default is not to treat those objects as host objects.
-
### class: v8.Deserializer
<!--
added: v8.0.0