File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -483,8 +483,8 @@ changes:
483
483
* ` string ` {string} String to encode.
484
484
* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
485
485
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 ` .
488
488
489
489
Examples:
490
490
@@ -891,8 +891,8 @@ added: v5.10.0
891
891
* ` string ` {string} A string to encode.
892
892
* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
893
893
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 ` .
896
896
897
897
Examples:
898
898
You can’t perform that action at this time.
0 commit comments