summaryrefslogtreecommitdiff
path: root/doc/api/buffer.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-03-31 11:08:16 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-04-03 00:50:59 +0300
commit2f338f3fa1ded597b8a8aa618e4fb09d87d6e45b (patch)
tree7fc5ae40ffef2d1d9299e50c57b682c080a0c55b /doc/api/buffer.md
parent3c11f64e354caf422a7c31ab3595e2b3b0b6b5fe (diff)
downloadandroid-node-v8-2f338f3fa1ded597b8a8aa618e4fb09d87d6e45b.tar.gz
android-node-v8-2f338f3fa1ded597b8a8aa618e4fb09d87d6e45b.tar.bz2
android-node-v8-2f338f3fa1ded597b8a8aa618e4fb09d87d6e45b.zip
doc: unify number/integer types in buffer.md
PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/buffer.md')
-rw-r--r--doc/api/buffer.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index d1e1357088..969668dd7a 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -867,11 +867,11 @@ A `TypeError` will be thrown if `buffer` is not a `Buffer`.
added: v8.2.0
-->
-* `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`
-* `offsetOrEncoding` {number|string} A byte-offset or encoding, depending on
+* `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`.
+* `offsetOrEncoding` {integer|string} A byte-offset or encoding, depending on
the value returned either by `object.valueOf()` or
`object[Symbol.toPrimitive]()`.
-* `length` {number} A length, depending on the value returned either by
+* `length` {integer} A length, depending on the value returned either by
`object.valueOf()` or `object[Symbol.toPrimitive]()`.
For objects whose `valueOf()` function returns a value not strictly equal to