logoalt Hacker News

Reubendyesterday at 11:51 PM1 replyview on HN

Good catch. I didn't realize that there was a longer list of restrictions below the section called "Stricter mode", and it seems like a lot of String functions I use are missing too.


Replies

MobiusHorizonstoday at 6:10 AM

> String functions: codePointAt, replaceAll, trimStart, trimEnd.

As I read it, these are supported es5 extensions, not missing as part of stricter mode.