Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryGH committed May 16, 2021
1 parent 5ef33f6 commit e109ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ JSON++ supports object-level attributes/array-elements as extensions of an `Arra
class Foo extends Array {
constructor(settings) {
super();
this._bar = 'bar';
this._bar = (settings.hasOwnProperty('Bar') ? settings['Bar'] : 'bar');
}
get Bar() {
Expand Down

0 comments on commit e109ddf

Please sign in to comment.