From 3ad5e30e05221f673c84be35266c97dd676a4027 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 29 Mar 2018 14:23:58 -0700 Subject: [PATCH] doc: remove ES6/ECMAScript 2015 from buffer.md As the introduction of ES6 features recedes further into the past, it is less and less relevant (and more and more distracting) to cite it in documentation text. Remove mention in buffer.md. Backport-PR-URL: https://github.com/nodejs/node/pull/21590 PR-URL: https://github.com/nodejs/node/pull/19685 Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig --- doc/api/buffer.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 6f31cbdc55cf3e..b5882254213b0b 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -6,8 +6,9 @@ Prior to the introduction of [`TypedArray`], the JavaScript language had no mechanism for reading or manipulating streams of binary data. The `Buffer` class -was introduced as part of the Node.js API to enable interaction with octet -streams in TCP streams, file system operations, and other contexts. +was introduced as part of the Node.js API to make it possible to interact with +octet streams in the context of things like TCP streams and file system +operations. With [`TypedArray`] now available, the `Buffer` class implements the [`Uint8Array`] API in a manner that is more optimized and suitable for Node.js.