Gzemnid はざっくりしていて完璧に信用はできないが、十分に使われていることはわかる。 特に Node や Deno などの JavaScript ランタイムや polyfill 系ライブラリでは、プロトタイプ汚染などを避けるために多用されている。 にもかかわらず、.bind と .call は自然言語の SVO 的な思考の流れに反していてむずかしい。実際のユースケースで見比べてみるとわかる。 // bluebird@3.5.5/js/release/synchronous_inspection.js return isPending.call(this._target()); return this._target()::isPending(); // ajv@6.10.0/lib/ajv.js validate = macro.call(self, schema, parentSc
![JavaScript の Bind Operator プロポーザルが復活した | Yuku Kotani](https://cdn-ak-scissors.b.st-hatena.com/image/square/e2a29aa5b11ac9024ac41e1e9cecb3dafadd821b/height=288;version=1;width=512/https%3A%2F%2Fyuku.dev%2Ficon.png)