@@ -587,7 +587,7 @@ assert.fail(new TypeError('need array')); |
587 | 587 | Using `assert.fail()` with more than two arguments is possible but deprecated. |
588 | 588 | See below for further details. |
589 | 589 |
|
590 | | -## assert.fail(actual, expected[, message[, operator[, stackStartFunction]]]) |
| 590 | +## assert.fail(actual, expected[, message[, operator[, stackStartFn]]]) |
591 | 591 | <!-- YAML |
592 | 592 | added: v0.1.21 |
593 | 593 | changes: |
@@ -600,7 +600,7 @@ changes: |
600 | 600 | * `expected` {any} |
601 | 601 | * `message` {string|Error} |
602 | 602 | * `operator` {string} **Default:** `'!='` |
603 | | -* `stackStartFunction` {Function} **Default:** `assert.fail` |
| 603 | +* `stackStartFn` {Function} **Default:** `assert.fail` |
604 | 604 |
|
605 | 605 | > Stability: 0 - Deprecated: Use `assert.fail([message])` or other assert |
606 | 606 | > functions instead. |
@@ -610,7 +610,7 @@ If `message` is falsy, the error message is set as the values of `actual` and |
610 | 610 | `expected` arguments are provided, `operator` will default to `'!='`. If |
611 | 611 | `message` is provided as third argument it will be used as the error message and |
612 | 612 | the other arguments will be stored as properties on the thrown object. If |
613 | | -`stackStartFunction` is provided, all stack frames above that function will be |
| 613 | +`stackStartFn` is provided, all stack frames above that function will be |
614 | 614 | removed from stacktrace (see [`Error.captureStackTrace`]). If no arguments are |
615 | 615 | given, the default message `Failed` will be used. |
616 | 616 |
|
@@ -636,7 +636,7 @@ assert.fail(1, 2, new TypeError('need array')); |
636 | 636 | In the last three cases `actual`, `expected`, and `operator` have no |
637 | 637 | influence on the error message. |
638 | 638 |
|
639 | | -Example use of `stackStartFunction` for truncating the exception's stacktrace: |
| 639 | +Example use of `stackStartFn` for truncating the exception's stacktrace: |
640 | 640 |
|
641 | 641 | ```js |
642 | 642 | function suppressFrame() { |
|