x79
  • Member for 6 years, 9 months
  • Last seen more than a month ago
2 answers
6 votes
110 views
Extracting information from a URI
2 votes

Typically you create a function to reduce redundancy, meaning you are going to call it repeatedly. Here you only call the function once so you should put everything into the main function. This way ...

View answer
4 answers
1 votes
68 views
Account disabled and deleted functions
1 votes

I would do it like this (I did not test this): Instead of calling accountDisabled, call accountChanged(false). Instead of calling accountDeleted, call accountChanged(true). function accountChanged(...

View answer