Double quote escaping bugged

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.5.0
    • Affects Version/s: 2.1.0
    • Component/s: Shell
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is not allowed :

      a =

      {s:"\""}

      db.test.save(

      {s:"\""}

      )

      This is allowed :

      a = "\""
      db.test.save(

      {s:a}

      )

      Shouldn't all of the above work (it does in all other JavaScript contexts I'm aware of).

              Assignee:
              Tad Marshall
              Reporter:
              Remon van Vliet
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: