There is an array of strings, it is necessary to check whether a certain substring is contained in each element of the array of strings, in case if at least one string does not exist, you need to return false.
The algorithm is terribly simple, but the task requires a minimum of characters in the code from the solution.
Are there any compact constructions for solving this problem in javascript? Language began to touch recently.
This thing is needed for checking in the if-else block.