# .cadoles-slide-title[Le futur (proche): ES6 (2/4)]

**Écriture simplifiée des classes**

```js
class Animal {

  constructor(hasFur) {
    this.hasFur = hasFur;
  }

}

class Dog extends Animal {

  constructor() {
    super(true);
  }

  bark() {
    console.log('Woaf !');
  }

}
```