Variable assignment overrides function declaration