if doesnt includes js code example Example: javascript includes method arr.includes(searchElement[, fromIndex = 0])