Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Esprima allows to create class in single-statements #1824
Steps to reproduce
But should fail becase this is not valid code.