def test_extraneous_globals(self):
        """Globals should not be registered from function parameters."""

        self.run_script("""
        var f = function(foo, bar) {
            foo = "asdf";
            bar = 123;
        };
        """)
        self.assert_silent()

        assert "foo" not in self.final_context.data
        assert self.final_context.data not in "bar"
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_functions.py/TestScope.test_extraneous_globals/swapped operands of `not in`