Ad
  • Default User Avatar

    Java Script
    What am I doing wrong? Why are attempts failing?
    Test Results:
    Test Passed: Value == 'S.H'
    Test Passed: Value == 'P.F'
    Test Passed: Value == 'E.C'
    Test Passed: Value == 'P.F'
    Test Passed: Value == 'D.M'
    TypeError: Cannot read property '0' of null
    at abbrevName
    at /home/codewarrior/index.js:18:19
    at /home/codewarrior/index.js:50:5
    at Object.handleError