@@ -906,13 +906,11 @@ added: v0.11.13 |
906 | 906 | * `targetStart` {integer} The offset within `target` at which to begin |
907 | 907 | comparison. **Default:** `0` |
908 | 908 | * `targetEnd` {integer} The offset with `target` at which to end comparison |
909 | | - (not inclusive). Ignored when `targetStart` is `undefined`. |
910 | | - **Default:** `target.length` |
| 909 | + (not inclusive). **Default:** `target.length` |
911 | 910 | * `sourceStart` {integer} The offset within `buf` at which to begin comparison. |
912 | | - Ignored when `targetStart` is `undefined`. **Default:** `0` |
| 911 | + **Default:** `0` |
913 | 912 | * `sourceEnd` {integer} The offset within `buf` at which to end comparison |
914 | | - (not inclusive). Ignored when `targetStart` is `undefined`. |
915 | | - **Default:** [`buf.length`] |
| 913 | + (not inclusive). **Default:** [`buf.length`] |
916 | 914 | * Returns: {integer} |
917 | 915 |
|
918 | 916 | Compares `buf` with `target` and returns a number indicating whether `buf` |
@@ -982,9 +980,9 @@ added: v0.1.90 |
982 | 980 | * `targetStart` {integer} The offset within `target` at which to begin |
983 | 981 | copying to. **Default:** `0` |
984 | 982 | * `sourceStart` {integer} The offset within `buf` at which to begin copying from. |
985 | | - Ignored when `targetStart` is `undefined`. **Default:** `0` |
| 983 | + **Default:** `0` |
986 | 984 | * `sourceEnd` {integer} The offset within `buf` at which to stop copying (not |
987 | | - inclusive). Ignored when `sourceStart` is `undefined`. **Default:** [`buf.length`] |
| 985 | + inclusive). **Default:** [`buf.length`] |
988 | 986 | * Returns: {integer} The number of bytes copied. |
989 | 987 |
|
990 | 988 | Copies data from a region of `buf` to a region in `target` even if the `target` |
|