DEV Community

Discussion on: Everything is an Object!

 
craigbrad profile image
Craig Bradley

The Method object you're referring to allows you to indirectly call the method, using .call. This passes a message to the object which is where the method is executed. The Method object itself, is not the method. Yes, you will get the same object id for the Method object, but that doesn't mean it's the method itself.