Closed aleen42 closed 5 years ago
Have you checked https://github.com/tc39/proposal-template-literal-revision/issues/5? All browsers except Edge have land it, can also be found in compat-table.
Maybe the checked list does not matters, as I have checked that Chrome still has the restriction.
This loosening of the escape sequence restriction only applies to tagged template literals; untagged templates still throw an early error for invalid escape sequences:
let bad = `bad escape sequence: \unicode`; // throws early error
OK, I need to check the usage of tag`literal`
Recently, I have found that this proposal has reached stage 4, but I found that most browsers does not still lift such a template literal restriction, and I want to know is the proposal still work?