cherry picking from esprima harmony branch
cherry picking from esprima harmony branch

commit 62160ad8ac79225a7b2303858f7359fd1430aa9f

mozilla/sweet.js,sweet-js/sweet.js,sweet-js/sweet-core,sweet-js/sweet.js,mozilla/sweet.js