Selaa lähdekoodia

Update README.md

update comment
Kamil Kiełczewski 4 vuotta sitten
vanhempi
commit
65edb5791e
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -406,10 +406,10 @@ To call array methods in righthand side (flow) way" we use similar technique lik
 
 
 ```js
 ```js
 [3,4,5]
 [3,4,5]
-    // call slice with 2 params (repeat this pattern for multi-param methods)
+    // call: slice(1,2) 
     .map([].constructor).concat([[[]]])[0].slice(-1)
     .map([].constructor).concat([[[]]])[0].slice(-1)
     .concat([[1,2]]).reduce([].slice.apply.bind([].slice))
     .concat([[1,2]]).reduce([].slice.apply.bind([].slice))
-    // next method call in "flow" style
+    // call next method (in flow)
     .concat(6) 
     .concat(6) 
 ```
 ```
 and finally (after remove dots and commas)
 and finally (after remove dots and commas)