/**** TASK ***
Left Rotation:
A left rotation on an array shifts each element of the array 1 unit to the left.  

In this challenge, given an array 'arr' and a number 'd', perform 'd' rotations on the array and return the updated array. 

*/

/**** SAMPLE INPUT
arr = [1,2,3,4,5];
d = 2;

SAMPLE OUTPUT
[3,4,5,1,2]

*/

function rotateLeft(arr, d) {
    //*************************/
    //**** YOUR CODE HERE *****/
    //*************************/
}

rotateLeft([1, 2, 3, 4, 5], 2);
//*************************/
