Freecodecamp lo suelta
const dropElements = (arr, func) => {
const indexes = arr.findIndex(func);
return indexes >= 0 ? arr.slice(indexes) : []
}
dropElements([1, 2, 3], function(n) {return n < 3; });
kouqhar