This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Commit 145b306
committed
chore(code clean-up): optimize propsFilter
Move ‘var keys = Object.keys(props);’ outside of the items.forEach(…)
loop. As previously written, keys will be re-instantiated on every
iteration of the forEach loop.1 parent f953cc3 commit 145b306
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments