pabadm

Results 4 comments of pabadm

Interest came from idea of callable objects in JS. I decided to change implementation because of setPrototypeOf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf. My variant is inspired by this article (the bind way) https://medium.com/@adrien.za/creating-callable-objects-in-javascript-fbf88db9904c. I...

> apparently adding my top-level comment left all these in pending, apologies. Will be finished. just dont have time now. I will comment when module is ready

Now it's possible to make regular JS objects callable. Also bind, apply, call now works the same as function's bind, apply, call. Also removed build and made module.exports for Callable...

Hello, also apologies for the delay. I recently found out that [CSP](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#description) blocks Function constructor. So I decided to stick up with your implementation and optimised it a lot using...