@@ -569,7 +569,7 @@ Array entries outside that range will be truncated to fit into it.
569569const buf = Buffer .from ([0x62 , 0x75 , 0x66 , 0x66 , 0x65 , 0x72 ]);
570570```
571571
572- A ` TypeError ` will be thrown if ` array ` is not an ` Array ` or other type
572+ A ` TypeError ` will be thrown if ` array ` is not an ` Array ` or another type
573573appropriate for ` Buffer.from() ` variants.
574574
575575` Buffer.from(array) ` and [ ` Buffer.from(string) ` ] [ ] may also use the internal
@@ -623,7 +623,8 @@ console.log(buf.length);
623623```
624624
625625A ` TypeError ` will be thrown if ` arrayBuffer ` is not an [ ` ArrayBuffer ` ] [ ] or a
626- [ ` SharedArrayBuffer ` ] [ ] or other type appropriate for ` Buffer.from() ` variants.
626+ [ ` SharedArrayBuffer ` ] [ ] or another type appropriate for ` Buffer.from() `
627+ variants.
627628
628629### Class Method: ` Buffer.from(buffer) `
629630<!-- YAML
@@ -647,7 +648,7 @@ console.log(buf2.toString());
647648// Prints: buffer
648649```
649650
650- A ` TypeError ` will be thrown if ` buffer ` is not a ` Buffer ` or other type
651+ A ` TypeError ` will be thrown if ` buffer ` is not a ` Buffer ` or another type
651652appropriate for ` Buffer.from() ` variants.
652653
653654### Class Method: ` Buffer.from(object[, offsetOrEncoding[, length]]) `
@@ -684,8 +685,8 @@ const buf = Buffer.from(new Foo(), 'utf8');
684685// Prints: <Buffer 74 68 69 73 20 69 73 20 61 20 74 65 73 74>
685686```
686687
687- A ` TypeError ` will be thrown if ` object ` has not mentioned methods or is not of
688- other type appropriate for ` Buffer.from() ` variants.
688+ A ` TypeError ` will be thrown if ` object ` does not have the mentioned methods or
689+ is not of another type appropriate for ` Buffer.from() ` variants.
689690
690691### Class Method: ` Buffer.from(string[, encoding]) `
691692<!-- YAML
@@ -710,7 +711,7 @@ console.log(buf1.toString('latin1'));
710711// Prints: this is a tést
711712```
712713
713- A ` TypeError ` will be thrown if ` string ` is not a string or other type
714+ A ` TypeError ` will be thrown if ` string ` is not a string or another type
714715appropriate for ` Buffer.from() ` variants.
715716
716717### Class Method: ` Buffer.isBuffer(obj) `
0 commit comments