Suppose you are asked this question during a technical interview:
When do you use immutable (functional) data structures and when do you use mutable data structure?
Suppose you are asked this question during a technical interview:
When do you use immutable (functional) data structures and when do you use mutable data structure?
This article discusses some pitfalls and techniques for securiing your JavaScript application against attacks such as XSS, CSRF, reverse tabnabbing, and security considerations working with open source.
This post is part of the Web Developer Playbook series, which are created to provide examples, best practice, and suggestions for designing and building web services. I will be using libraries from the JavaScript ecosystem (e.g., Node.js, React.js) in all my examples.