archives

« Bugzilla Issues Index

#82 — JSON.parse 15.12.2 step 3 asks for a bogus parse


Step 3 says parse and evaluate //JTExt// "as if it was the source text of an ECMASCript //Program//". But a JSON document is not a valid //Program// because //Program// does not allow an object literal to occur at the start of a statement.

//Program// should probably be replaced by //PrimaryExpression//


set IN_PROGRESS to indicated this should go into ES5.1 Errata.