7 kyu
Add a property to an object
663 of 664Palle
Description:
Write a function that adds a named property to an object. It must be possible to set the property to a new value. If the property already exists on the object, and error should be thrown.
Fundamentals
Similar Kata:
Stats:
Created | Sep 11, 2015 |
Published | Sep 11, 2015 |
Warriors Trained | 1097 |
Total Skips | 58 |
Total Code Submissions | 2552 |
Total Times Completed | 664 |
JavaScript Completions | 663 |
Total Stars | 19 |
% of votes with a positive feedback rating | 89% of 146 |
Total "Very Satisfied" Votes | 116 |
Total "Somewhat Satisfied" Votes | 28 |
Total "Not Satisfied" Votes | 2 |