If you have been given three arguments - the objective of the stolen item, the name of the pet and the value - return the item with that name and value (such as a pair of keywords). Examples addName ({}, "Brutus", 300) {Brutus: 300} addName ({piano: 500}, "Brutus", 400) {piano: 500, Brutus: 400}
If you have been given three arguments - the objective of the stolen item, the name of the pet and the value - return the item with that name and value (such as a pair of keywords). Examples addName ({}, "Brutus", 300) {Brutus: 300} addName ({piano: 500}, "Brutus", 400) {piano: 500, Brutus: 400}
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images