Loadash .pad()- str.padStart is not a function

Hey all,

Why is my code below in the Loadash .pad() exercise giving this error on test “TypeError: str.padStart is not a function”?

pad(str, len) {
    result = str.padStart(len - str.length);
    result = result.padEnd(len);
    return result; 
  },