$chiubaca / notes / fleeting / 2021-02-11
  • More Full-stack React TS & Node. Revising ES6 features
    • revising bind, call
    • bind is used to replace the instance instance of this. if a function call that is reliant on this it will have been altered to the new context
    • call is used at the the function is being called.
    • apply is similar to call but the second argument you provide is an array of argument which will be supplied to for the method that is being called.
    • revised how reduce works
    • use sets for unique lists, use maps for unique object collections.
Edit on GitHub ✏️

Hey I'm Alex Chiu 👋. These are my notes for literally anything.

I'm using the Zettelkasten method to organise my thoughts here.

My more polished writings are published to my main blog at chiubaca.com

Follow me on: Github / X (Twitter) / Mastodon / LinkedIn