Closed
Description
Other ES6 features work when not targeting ES6, but methods like String.prototype.startsWith
produce compilation errors. My expectation was that ES6 features would work regardless of the target version, and it's not clear what the distinction between the string methods and other features is.