Skip to content

Commit e18a0e8

Browse files
vsemozhetbytBethGriggs
authored andcommittedApr 9, 2019
doc: unify number/integer types in buffer.md
PR-URL: #27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
1 parent 0d75adc commit e18a0e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎doc/api/buffer.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -867,11 +867,11 @@ A `TypeError` will be thrown if `buffer` is not a `Buffer`.
867867
added: v8.2.0
868868
-->
869869

870-
* `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`
871-
* `offsetOrEncoding` {number|string} A byte-offset or encoding, depending on
870+
* `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`.
871+
* `offsetOrEncoding` {integer|string} A byte-offset or encoding, depending on
872872
the value returned either by `object.valueOf()` or
873873
`object[Symbol.toPrimitive]()`.
874-
* `length` {number} A length, depending on the value returned either by
874+
* `length` {integer} A length, depending on the value returned either by
875875
`object.valueOf()` or `object[Symbol.toPrimitive]()`.
876876

877877
For objects whose `valueOf()` function returns a value not strictly equal to

0 commit comments

Comments
 (0)