JSFiddle - React, Tailwind, and code Playground
by Eugen Sunic
JavaScript
function nesto() {
const a = [1, 22, 11, 4];
const b = [11, 4];
let new_array = [];
for (let i = 0; i < b.length; i++) {
for (let j = 0; i < a.length; j++) {
}
}
return new_array;
}
console.log(nesto());