[x] My pull request has a descriptive title (not a vague title like Update index.md)
Closes #472
Changes respect to the original code:
replaced var with let and const
converted the function + constructor into a class
The class has a static method hash, but I'm not sure if campers know about static methods at this point. If not this can be turned back into a function defined outside the class.
User stories may have to more more detailed, depending on how much has been already taught about hash tables.
Checklist:
Update index.md
)Closes #472
Changes respect to the original code:
var
withlet
andconst
The class has a static method
hash
, but I'm not sure if campers know about static methods at this point. If not this can be turned back into a function defined outside the class.User stories may have to more more detailed, depending on how much has been already taught about hash tables.