1function multiply(a, b) {
2 b = (typeof b !== 'undefined') ? b : 1
3 return a * b
4}
1const resultDisplayArray = [];
2for(let i = 0; i < result.failure.length; i++) {
3resultDisplayArray.push(`<li class="text-warning">${result.failure[i]}</li>`);
4}