Skip to content

Commit

Permalink
Merge pull request #7 from kelzerock/fix
Browse files Browse the repository at this point in the history
fix: description for task removeProperties
  • Loading branch information
natein authored Feb 5, 2025
2 parents 111b4fe + b302389 commit 6fec7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objects-tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function mergeObjects(/* objects */) {
* @example
* removeProperties({a: 1, b: 2, c: 3}, ['b', 'c']) => {a: 1}
* removeProperties({a: 1, b: 2, c: 3}, ['d', 'e']) => {a: 1, b: 2, c: 3}
* removeProperties({name: 'John', age: 30, city: 'New York'}, 'age') => {name: 'John', city: 'New York'}
* removeProperties({name: 'John', age: 30, city: 'New York'}, ['age']) => {name: 'John', city: 'New York'}
*
*/
function removeProperties(/* obj, keys */) {
Expand Down Expand Up @@ -161,7 +161,7 @@ function Rectangle(/* width, height */) {
*
* @example
* [1,2,3] => '[1,2,3]'
* { width: 10, height : 20 } => '{"height":10,"width":20}'
* { height: 10, width: 20 } => '{"height":10,"width":20}'
*/
function getJSON(/* obj */) {
throw new Error('Not implemented');
Expand Down

0 comments on commit 6fec7ac

Please sign in to comment.