Avoiding bugs with data structures: using Sets in JavaScript

added by JavaScript Kicks
9/2/2019 7:36:11 AM

556 Views

When working on a part of a user interface I like to constantly try to think about potential bugs that could occur, potentially when looking at taking input from users. Most components that take input will have code to prevent invalid input and bugs and you can't ever avoid this, but sometimes the right data structure can remove the amount of bugs you'll have to write code to deal with.


0 comments