A Duck Developer Site

Thursday, August 6, 2020

Javascript learning on the way

Curry: 
https://javascript.info/currying-partials


Apply and Call : Both take first argument to change the its current context, 

https://www.w3schools.com/js/js_function_apply.asp

The call() method takes arguments separately.

The apply() method takes arguments as an array.

Posted by DUC NGUYEN at 10:51 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: js
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2020 (4)
    • ▼  August (1)
      • Javascript learning on the way
    • ►  July (3)
  • ►  2019 (7)
    • ►  July (1)
    • ►  June (1)
    • ►  March (1)
    • ►  January (4)
  • ►  2018 (11)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  August (4)
    • ►  June (1)
    • ►  April (1)
  • ►  2017 (7)
    • ►  October (4)
    • ►  September (3)
Powered by Blogger.