I'm trying to create a class named Debugger
with a public function in it named log
but when I call log()
from my other js file it doesn't work. I tried to log in console the object of the class and I can see in the console that my functions are disabled. Why? And how can I enable them?
via DrunkenPoney
No comments:
Post a Comment