Completed
Push — master ( 2008a4...6fb17f )
by Michal
03:39
created

examples/webpack/app/scripts/index.js   A

Size

Lines of Code 12

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
nc 1
dl 0
loc 12
rs 10
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ??? 0 3 1
1
class Duck {
2
  constructor(sound) {
3
    this.sound = sound;
4
  }
5
6
  quack() {
7
    console.log(this.sound);
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
8
  }
9
}
10
11
const d = new Duck('Quack!');
12
d.quack();