Gzemnid はざっくりしていて完璧に信用はできないが、十分に使われていることはわかる。 特に Node や Deno などの JavaScript ランタイムや polyfill 系ライブラリでは、プロトタイプ汚染などを避けるために多用されている。 にもかかわらず、.bind と .call は自然言語の SVO 的な思考の流れに反していてむずかしい。実際のユースケースで見比べてみるとわかる。 // bl[email protected]/js/release/synchronous_inspection.js return isPending.call(this._target()); return this._target()::isPending(); // [email protected]/lib/ajv.js validate = macro.call(self, schema, parentSc
