推 alog: mdn: goo.gl/Josco 09/06 23:24
→ badyy: js語法教學書,小魯推exploringjs/es6 有線上版 09/06 23:42
推 QQrz: 現在es6 class寫法不用bind惹 要binf的時候也比較建議=()=> 09/07 00:05
→ QQrz: *bind 09/07 00:05
推 davidsky: 看不懂bind應該更看不懂arrow function阿... 09/07 00:34
→ obamina48: 其實如果是 forEach 的話,第二個參數就是 thisArg 了 09/07 01:45
→ obamina48: ,可以不用bind 09/07 01:45
→ QQrz: 種,有z有b拉 09/07 02:19
推 tooto1985: bind簡單的說就是產生一個新的function並取代this 09/07 08:53
→ mrbigmouth: 老實說React有點太濫用bind了 bind的效率頗差的 09/07 10:38
→ jimmy689: class不是會直接碰到瀏覽器相容問題嗎 09/07 12:53
→ aa06697: 簡單來說就是卡住你的this啦 09/07 14:15
推 dannyyaou: 我的理解是讓物件下的函數可以access到往外一層物件的 09/07 14:54
→ dannyyaou: 變數 09/07 14:54
推 lastdreamer: 感覺bind, call, apply & closure 是種時間到了某天 09/07 15:53
→ lastdreamer: 睡覺醒來突然就懂了的東西 XD 09/07 15:53
推 lastdreamer: also curry vs partial application 09/07 16:00
推 vn509942: 亮燈泡的概念 09/07 20:06
推 TETZ: 我的理解是把目前的scope丟進去用就對了 09/08 01:41
→ TETZ: 通常都是用到callback但還是習慣用到傳送callback時的scope 09/08 01:42
推 ROCKandROLL: return 一個 function, 可以指定裡面的 this 是什麼 09/08 11:40
推 ROCKandROLL: 建議你先把 this 觀念搞懂應該就可以了 09/08 11:42
推 CoNsTaR: 關鍵字 lambda calculus, currying, partital applicatio 09/08 11:57
→ CoNsTaR: n 09/08 11:57
→ CoNsTaR: 指令式和 OO 語言會看到 closure 這個字 09/08 11:58
推 lastdreamer: no bind不只this, args也可以 09/08 13:16
→ lastdreamer: 無聊的話可以寫一下這些題目 我覺curry那題蠻棒的 09/08 13:22