@abojnkl А в чём здесь проблема? ipv4 работает, ipv6 - нет. Отключите в настройках прокси получение ipv6, если мешает.
in B but not in A
-
function valuesInBNotInA(A, B) { // Use the filter method to create a new array with values from B that are not in A const result = B.filter(value => !A.includes(value)); return result; } // Example lists A and B const listA = [1, 2, 3, 4]; const listB = [3, 4, 5, 6]; // Call the function to get the values in B not in A const valuesNotInA = valuesInBNotInA(listA, listB); console.log(valuesNotInA); // Output: [5, 6]
