I have resolved this issue myself
Changing core settings (command-line arguments) while the browser is already open and rendering a page causes the Chromium graphics engine to crash, resulting in the screen immediately turning black
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]
