To cater to an increasing number of websites that treat "let" as a versionless keyword (because other browsers *cough* Chrome *cough* do) we've had to make this keyword versionless as well. This meant, however, that the old JS versions of the let keyword (let expressions and let blocks) can no longer be used, and must be rewritten into let definitions inside scoped blocks. If extensions use these let expressions or blocks, they will break (Pale Moon has already emitted warnings previously about this use).
For extension developers:
What no longer works:
Code: Select all
let (x=y) express(x);
let (x=y) {
do_something(x);
do_something_else(x);
}
Code: Select all
{
let x=y;
express(x);
}
{
let x=y;
do_something(x);
do_something_else(x);
}