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

commit f1b3150aa43205d511e3452b8c1cead96d2925d4

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