Side Effects in JavaScript

Medium
3
48.1% Acceptance

In this lab, you will work with side effects in JavaScript. Side effects are changes that a function causes in the external environment, such as modifying external states or variables. You will create a function that increments a number, another function that modifies an array, and a function that sets a global variable. You will then use these functions to explore and control side effects in JavaScript.