fisker Cheung

Results 1279 comments of fisker Cheung

We can also check ```js var replace = `Hello $name}`; var replace = `Hello ${name`; ```

Without "classname" how to access another property/method?

Oh, sorry I misunderstood, I though this rule not allow `this` "class name" and `super`.

👍 for `class-reference-in-static-methods`

Your case not the same as mine, it's more like `a = b ? 1 : 1`.

I use `btoa(unescape(encodeURIComponent('中文')))` a lot. It works for me.

I know that, but it will still be in browser forever. I prefer to use it without add dependencies.

Currently, we support 5 kinds of AST to merge, and we check recursively ```js // This is fixed to `return await (b ? c : d)` async function a() {...

```js [...foo].toSorted() ``` is not safe to fix, since `foo` can be other types like `string`, `Set`.. Or even can't be reported.