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

commit c4b2fc0cc4e80ab4279ab1d28b691a13d258814a

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