diff options
author | Pascal Borreli <pascal@borreli.com> | 2018-04-27 11:50:05 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-04-27 11:50:05 +0300 |
commit | 12e3eff462077008143146181c81f77204d1a8a9 (patch) | |
tree | 3a7c1cf7ae9004a27df9d1c3d942a138185a3ee2 /doc/development/fe_guide/style_guide_js.md | |
parent | 740f0bb126a4e7da94d9d0181d2023b14113c93e (diff) |
Fixed typos
Diffstat (limited to 'doc/development/fe_guide/style_guide_js.md')
-rw-r--r-- | doc/development/fe_guide/style_guide_js.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/fe_guide/style_guide_js.md b/doc/development/fe_guide/style_guide_js.md index 7b5fa6ca42f..677168937c7 100644 --- a/doc/development/fe_guide/style_guide_js.md +++ b/doc/development/fe_guide/style_guide_js.md @@ -236,7 +236,7 @@ export class Foo { } ``` -On the other hand, if a class only needs to extend a third party/add event listeners in some specific cases, they should be initialized oustside of the constructor. +On the other hand, if a class only needs to extend a third party/add event listeners in some specific cases, they should be initialized outside of the constructor. 1. Prefer `.map`, `.reduce` or `.filter` over `.forEach` A forEach will most likely cause side effects, it will be mutating the array being iterated. Prefer using `.map`, |