Skip to content

Commit ff04c7b

Browse files
committed
docs
1 parent d3c2403 commit ff04c7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

switchCase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ const curryArgs3 = require('./_internal/curryArgs3')
6161
* Any function can be replaced with a nonfunction (object or primitive) value to be used directly in the operation.
6262
*
6363
* ```javascript [playground]
64-
* switchCase([
64+
* switchCase(false, [
6565
* async function asyncIdentity(value) {
6666
* return value
6767
* },
6868
* 'something',
6969
* 'default',
70-
* ])(false).then(console.log) // default
70+
* ]).then(console.log) // default
7171
* ```
7272
*
7373
* If every element in the conditional array is a nonfunction value, `switchCase` executes eagerly.

0 commit comments

Comments
 (0)