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

index.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
c 2
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 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();