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

More By Author:

Check out these other kata created by Palle

Stats:

CreatedSep 11, 2015
PublishedSep 11, 2015
Warriors Trained1097
Total Skips58
Total Code Submissions2552
Total Times Completed664
JavaScript Completions663
Total Stars19
% of votes with a positive feedback rating89% of 146
Total "Very Satisfied" Votes116
Total "Somewhat Satisfied" Votes28
Total "Not Satisfied" Votes2
Ad
Contributors
  • Palle Avatar
  • myjinxin2015 Avatar
Ad