function hasNumber(myString, testNumber) { return /testNumber/.test('22') }