What is the output of below code?
It gives an syntax error like SyntaxError: Identifier 'x' has already been declared.
BY Best Interview Question ON 10 Aug 2022
It gives an syntax error like SyntaxError: Identifier 'x' has already been declared.