def test_function_expression_order(self):

        self.run_script("""
        foo = "first"
        var x = function() {
            foo = "second";
        }
        bar = foo;
        """)
        self.assert_var_eq("bar", "first")
        self.assert_var_eq("foo", "second")
Test that function expressions happen in the right time.
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_traversal.py/TestFunctionTraversal.test_function_expression_order