Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function assignProperties(input) {
- let object = new Object();
- object[input[0]] = input[1];
- object[input[2]] = input[3];
- object[input[4]] = input[5];
- console.log(object)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement