0048デフォルトの名無しさん (ワッチョイ 8692-F77J)
2017/04/25(火) 09:57:49.62ID:t+yXw+A30頭悪いぞお前、コンテキストは>>36のアウアウな発言
>アローは関数型プログラミングの流れを汲んでるから今回みたくオブジェクト指向で使おうとすると相性悪い
functionはOOスタイルプログラミングでクソって書いてあるのに
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Until arrow functions, every new function defined its own this value (a new object in the case of a constructor,
undefined in strict mode function calls, the context object if the function is called as an "object method", etc.).
This proved to be annoying with an object-oriented style of programming.