lib/Add Element to Start of an Array.js
// Add Element to Array Using Spread Operator
Add Element to Array Using Spread Operator
Add Element to Array Using Spread Operator
function addElement(arr) {
    arr = [4, ...arr];
    console.log(arr);
}
function addElement ( arr ) { arr = [ 4 , ... arr ] ; console . log ( arr ) ; }
Add Element to Array Using Spread Operator
Add Element to Array Using Spread Operator
// adding element to array