Skip to content
Permalink
Browse files

Docs: fix grammar mistake in no-caller docs (#11623)

  • Loading branch information...
dslemay authored and platinumazure committed Apr 19, 2019
1 parent f570be1 commit bebd0793eaf122b013cca501ff2c6b0fc05d5493
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/rules/no-caller.md
@@ -10,7 +10,7 @@ function foo() {

## Rule Details

This rule is aimed at discouraging the use of deprecated and sub-optimal code, but disallowing the use of `arguments.caller` and `arguments.callee`. As such, it will warn when `arguments.caller` and `arguments.callee` are used.
This rule is aimed at discouraging the use of deprecated and sub-optimal code by disallowing the use of `arguments.caller` and `arguments.callee`. As such, it will warn when `arguments.caller` and `arguments.callee` are used.

Examples of **incorrect** code for this rule:

0 comments on commit bebd079

Please sign in to comment.
You can’t perform that action at this time.