var State = { called_with: null, }; function test_func(x) { State.called_with = x; }