diff --git a/docs/rules/no-new-func.md b/docs/rules/no-new-func.md index 2e38086515b..6649b5b266e 100644 --- a/docs/rules/no-new-func.md +++ b/docs/rules/no-new-func.md @@ -6,11 +6,11 @@ It's possible to create functions in JavaScript using the `Function` constructor var x = new Function("a", "b", "return a + b"); ``` -This is considered by many to be a bad practice due to the difficult in debugging and reading these types of functions. +This is considered by many to be a bad practice due to the difficulty in debugging and reading these types of functions. ## Rule Details -This error is raised to highlight the use of a bad practice. By passing a string to the Function constructor, you are requiring the engine to parse that string much in the way it has to when you call the eval function. +This error is raised to highlight the use of a bad practice. By passing a string to the Function constructor, you are requiring the engine to parse that string much in the way it has to when you call the `eval` function. ```js /*eslint no-new-func: 2*/