michael@0: // |reftest| skip-if(Android) michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: */ michael@0: michael@0: /* Check that assignment to a let-bound variable is permitted in both lenient and strict modes. */ michael@0: michael@0: /* Assigning to a let-declared variable is okay in strict and loose modes. */ michael@0: assertEq(testLenientAndStrict('let let_declared; let_declared=1', michael@0: completesNormally, michael@0: completesNormally), michael@0: true); michael@0: michael@0: reportCompare(true, true);