All Questions
1 question
1
vote
2
answers
165
views
Checking if an element exists in an array efficiently and return it
I am writing a function for my node/angular app that will prompt the user with a random question that he was not asked before.
To achieve this I wrote this function:
...