first commit with existing project files

This commit is contained in:
Vincent Guillet
2025-07-12 11:20:23 +02:00
commit d90d85d002
7 changed files with 316 additions and 0 deletions

17
TacheProfessionnelle.js Normal file
View File

@@ -0,0 +1,17 @@
import { Tache } from './Tache.js';
export class TacheProfessionnelle extends Tache {
constructor(titre, texte, date, projet) {
super(titre, texte, date);
this._projet = projet;
}
afficher() {
super.afficher();
console.log(`Projet: ${this._projet}`);
}
toString() {
return `${super.toString()}, Projet: ${this._projet}`;
}
}