Skip to content
Snippets Groups Projects
Commit c92c601c authored by MamaneIbrahim Aboubacar's avatar MamaneIbrahim Aboubacar
Browse files

fin

parent 0a6f06b3
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ function recherche(tab: Array<number>, x: number): void {
class RechercheException extends Error {
constructor(message: string) {
super(message);
this.name = "Error";
this.name = "RechercheException";
}
}
......@@ -21,4 +21,4 @@ function gestionErreur(tab: Array<number>, x: number): void {
}
}
gestionErreur([1, 10, 3], 10);
gestionErreur([1, 4, 3], 10);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment