JS: add query js/unused-property

This commit is contained in:
Esben Sparre Andreasen
2019-02-12 15:02:03 +01:00
parent 0cf2eaec5e
commit 91dccc3356
12 changed files with 301 additions and 51 deletions

View File

@@ -0,0 +1,8 @@
function f() {
var o = {
prop_a: expensiveComputation(),
prop_b: anotherComputation()
};
return o.prop_b;
}