I want to set variable 'testValue' to 3 using a Self Invoking Function, can you help me?
var testValue;
function test() { testValue = 3; }();
                    
                    SyntaxError: Unexpected token )
__match_answer_and_solution__
undefined
__match_answer_and_solution__
The value of testValue is undefined because the function has not been autoexecuted.
__match_answer_and_solution__
var testValue;
!function test() { testValue = 3; }();
assert(testValue == 3);