{"action":"closed","issue":{"url":"https://api.github.com/repos/kangax/compat-table/issues/489","labels_url":"https://api.github.com/repos/kangax/compat-table/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/kangax/compat-table/issues/489/comments","events_url":"https://api.github.com/repos/kangax/compat-table/issues/489/events","html_url":"https://github.com/kangax/compat-table/issues/489","id":65773286,"number":489,"title":"Babel is supporting \"extends\" for classes","user":{"login":"slavede","id":2838038,"avatar_url":"https://avatars.githubusercontent.com/u/2838038?v=3","gravatar_id":"","url":"https://api.github.com/users/slavede","html_url":"https://github.com/slavede","followers_url":"https://api.github.com/users/slavede/followers","following_url":"https://api.github.com/users/slavede/following{/other_user}","gists_url":"https://api.github.com/users/slavede/gists{/gist_id}","starred_url":"https://api.github.com/users/slavede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavede/subscriptions","organizations_url":"https://api.github.com/users/slavede/orgs","repos_url":"https://api.github.com/users/slavede/repos","events_url":"https://api.github.com/users/slavede/events{/privacy}","received_events_url":"https://api.github.com/users/slavede/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T20:32:19Z","updated_at":"2015-04-02T02:57:52Z","closed_at":"2015-04-02T02:57:52Z","body":"It says that babel is not supporting \"extends\" for classes, but I just tested it in Chrome 41 with babel 4.7.8 and it worked perfectly fine. Following code works in compiled code:\r\n\r\n\t\tclass Vehicle {\r\n\t\t\tconstructor(color, numberOfWheels) {\r\n\t\t\t\tthis.vehicleColor = color;\r\n\t\t\t\tthis.numberOfWheels = numberOfWheels;\r\n\t\t\t}\r\n     }\r\n\r\n\t\tclass Bicycle extends Vehicle{\r\n\t\t\tconstructor(color) {\r\n\t\t\t\tsuper(color, 2);\r\n\t\t\t}\r\n\t\t}\r\n"}}