Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99ff58c

Browse files
authored
Merge pull request#48 from alonronin/patch-1
reverse arguments
2 parents582326c +bd79998 commit99ff58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ A function is often an action on _something_. It is important to state what its
269269

270270
```js
271271
/* A pure function operating with primitives*/
272-
functionfilter(predicate,list) {
272+
functionfilter(list,predicate) {
273273
returnlist.filter(predicate)
274274
}
275275

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp