+ 3

What is a immediately invoked function expression in JavaScript ? Why is it used ?

I found this in a 2d game JavaScript game (function(global) {} )(this); PS I am trying to learn OOP JS concepts..

12th Oct 2017, 11:43 AM
Kalo 'smi
Kalo 'smi - avatar
2 Answers
+ 1
I had found out this ...but thank you
12th Nov 2017, 4:28 PM
Kalo 'smi
Kalo 'smi - avatar