Skip to content

Commit

Permalink
Remove stray character (#474)
Browse files Browse the repository at this point in the history
`Reflect.apply)()` `->` `Reflect.apply()`
  • Loading branch information
jackharrhy authored and fisker committed Dec 11, 2019
1 parent d87d661 commit 17a96df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-reflect-apply.md
@@ -1,6 +1,6 @@
# Prefer `Reflect.apply()` over `Function#apply()`

[`Reflect.apply)()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/apply) is arguably less verbose and easier to understand. In addition, when you accept arbitrary methods, it's not safe to assume `.apply()` exists or is not overridden.
[`Reflect.apply()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/apply) is arguably less verbose and easier to understand. In addition, when you accept arbitrary methods, it's not safe to assume `.apply()` exists or is not overridden.

This rule is fixable.

Expand Down

0 comments on commit 17a96df

Please sign in to comment.