G. Variables duplicadas

Ejemplo

let a = "Q1"
document.write(a)
const a = "Q2"
console.log(a)

Salida

SyntaxError: Identifier 'a' has already been declared