JS
challenger
Home
JavaScript Practice
JavaScript arrays
Merge two arrays with duplicate values
Merge two arrays with duplicate values
Write a function that takes two arrays as arguments. Merge both arrays and remove duplicate values. Sort the merge result in ascending order. Return the resulting array
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console