IS this the only way to avoid Firefox console re-declaration error?

IS this the only way to avoid Firefox console re-declaration error
:face_with_monocle: :face_with_monocle: :face_with_monocle: :face_with_monocle: :worried: :face_with_monocle:
{let name=“somebody”;}
{let age=21;}
console.log("My name is " + name + " I am " + age + “years old .”);
"or"
console.log(My name is ${name} I am ${age} years old .);

If you want to play it safe, yes, you can wrap your expression in a code block (if you don’t need to access those variable in a later expression)

{
  let name=“somebody”;
  let age=21;
  console.log("My name is " + name + " I am " + age + “years old .”);
}

We have a bug open to enable re-declaring let/const https://bugzilla.mozilla.org/show_bug.cgi?id=1580891 but no plan to implement it anytime soon.

You could refresh the page. Get a new,fresh context.