<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/17/15 11:59 AM, Shu-yu Guo wrote:<br>
    </div>
    <blockquote
cite="mid:CACVBLKJAGBTR_Op7WyfFEtg=WuiwZQaecj7xu1VR7HeswYc-EA@mail.gmail.com"
      type="cite">
      <div class="gmail_default"
        style="font-family:arial,helvetica,sans-serif">​
        Because ​until now, our global 'let' semantics have been
        identical to those of 'var', I have already landed a patch that
        mass replaces global 'let' with 'var' as part of bug 1202902.<br>
        <br>
      </div>
      <div class="gmail_default"
        style="font-family:arial,helvetica,sans-serif">Because there is
        no direct syntactic replacement for 'const', I am combing
        through the code on a case by case basis.</div>
    </blockquote>
    <br>
    Shu, can you mass replace `const X = Y` with `var /*const*/ X = Y`?
    The const comment would be a hint to readers and a greppable string
    we could try replacing with ES6 const later.<br>
    <br>
    Or could you preserve the const property by expanding `const X = Y`
    to something like `Object.defineProperty(this, 'X', {value:Y,
    writable:false})`?<br>
  </body>
</html>