New: Try Voli The Bear, Fast package manager (and not only) for Windows
JavaScript
// Write matchCatFood(str): "cat" if immediately followed by " food"
// (without " food" in the result), or null.
function matchCatFood(str) {

}

// Write hasDigitSomewhere(str): true if str contains a digit anywhere.
function hasDigitSomewhere(str) {

}