I am using a plugin to integrate leaflet into an AngularJS project. As I wanted to check if the API was the same as the standard leaflet, I logged into the Chrome console the leaflet object provided by dependency injection; several methods were missing.
Surprisingly enough, when I tried to call those methods on that object anyway, they did work.
How can this be ? What makes some properties visible or not in the console ?