From acccfbd64dc82602f80627c722d6dbb4e4456902 Mon Sep 17 00:00:00 2001 From: Francisc Date: Tue, 31 Oct 2017 02:50:30 +0200 Subject: [PATCH] Docs: Minor rephrase in `no-invalid-this`. (#9542) --- docs/rules/no-invalid-this.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-invalid-this.md b/docs/rules/no-invalid-this.md index 87d5387ac60..b6733eded56 100644 --- a/docs/rules/no-invalid-this.md +++ b/docs/rules/no-invalid-this.md @@ -6,7 +6,7 @@ Under the strict mode, `this` keywords outside of classes or class-like objects This rule aims to flag usage of `this` keywords outside of classes or class-like objects. -Basically this rule checks whether or not a function which are containing `this` keywords is a constructor or a method. +Basically, this rule checks whether or not a function containing `this` keyword is a constructor or a method. This rule judges from following conditions whether or not the function is a constructor: