avoid trying to replace a node with itself, antipattern!

This commit is contained in:
Sebastian McKenzie
2015-05-04 22:19:37 +01:00
parent 01e5354fd9
commit 2c0c2f12df
7 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
class Test {
constructor() {
arr.map(x => x * x);
arr.map(x => x * x);
}
}