Sobes.tech
Senior

// Tâche : Écrivez une méthode qui retourne true, // si le tableau d'entiers contient 3 ou plus // nombres consécutifs n'importe où. // Par exemple : // someMethod([2, 4, 5, 6, 2]) -> true // someMethod([0, 22, 23, 24, 29]) -> true // someMethod([1, 2, 3, 4]) -> true // someMethod([1, 2, 4]) -> false