You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading on, I see getBobby when the context clearly means getHobby
Also, there's some code that looks like top-level code but appears to be meant to be in the constructor:
e.g.
// Revise within PeopleCollection's constructorconstgetHobby=(person)=>person.hobbies;getHobby.isMultiple=true;// isMultiple = true indicates the value extracted is an array or a set of valuesthis.hobbyIndex=newCollectionIndex([getBobby]);this.genderAndHobbyIndex=newCollectionIndex([person=>person.gender,getHobby]);this.buildIndexes([this.genderIndex,this.hobbyIndex,this.genderAndHobbyIndex,]);
Using this in top-level code does not make sense.
If this is meant to be in a constructor, then it should be presented that way.
To take a look at your package I copy/pasted some code and ...
This told me there was no such package. Spelling mistake.
This told me
super
had to be called from inside a constructor. Spelling mistake.There may be other mistakes in the README, I haven't checked.
The text was updated successfully, but these errors were encountered: