JS
challenger
Home
JavaScript Practice
JavaScript objects
Creating Javascript objects three
Creating Javascript objects three
Write a function that takes two arrays (a and b) as arguments. Create an object that has properties with keys from 'a' and corresponding values from 'b'. Return the object.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console