Skip to content

Commit f54fcf5

Browse files
committed
#13 fixed
1 parent e3ebeae commit f54fcf5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

test/es6/unused-params.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
const bar = (param2) => {
2+
return param2;
3+
};
4+
5+
const foo = () => {
6+
bar();
7+
};
8+
9+
const myObject = {
10+
method1() {
11+
return `12`;
12+
},
13+
methodWithIgnoredParam(_ignore) {
14+
return 42;
15+
}
16+
};
17+
18+
bar(function () {
19+
foo(function () {
20+
myObject.method1();
21+
myObject.methodWithIgnoredParam(122);
22+
});
23+
});

0 commit comments

Comments
 (0)