Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is this.init = function() called every time file is loaded?

I can't find a definitive answer if an init function is called automatically when the file is loaded. Is this a built-in part of JS/Jquery, or am I missing where it's getting called from in some location of another file?

If it is being called automatically, is this reoccurring every time the file is loaded?

Example of the particular setup:

ExampleClass = function()
{
   this.init = function()
   {
          //...
   }
}
like image 377
Briz Avatar asked Jun 30 '26 11:06

Briz


1 Answers

no init is not called automatically when file is loaded.

like image 50
Headshota Avatar answered Jul 03 '26 02:07

Headshota