File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -483,8 +483,8 @@ changes:
483483* ` string ` {string} String to encode.
484484* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
485485
486- Creates a new ` Buffer ` containing ` string ` . If provided, the ` encoding `
487- parameter identifies the character encoding of ` string ` .
486+ Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
487+ the character encoding of ` string ` .
488488
489489Examples:
490490
@@ -891,8 +891,8 @@ added: v5.10.0
891891* ` string ` {string} A string to encode.
892892* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
893893
894- Creates a new ` Buffer ` containing ` string ` . If provided, the ` encoding `
895- parameter identifies the character encoding of ` string ` .
894+ Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
895+ the character encoding of ` string ` .
896896
897897Examples:
898898
You can’t perform that action at this time.
0 commit comments