bowling_score_2.js
// broken up into an index of the array.
broken up into an index of the array.
broken up into an index of the array .
function splitArray(stringArgument)
  {
    console.log(' ');
    console.log('This is the splitArray function.');
    splitScore = stringArgument.split('-');
    console.log('The splitScore array is: '+ splitScore );
    console.log(' ');
  } 
function splitArray ( stringArgument ) { console . log ( ' ' ) ; console . log ( 'This is the splitArray function.' ) ; splitScore = stringArgument . split ( '-' ) ; console . log ( 'The splitScore array is: ' + splitScore ) ; console . log ( ' ' ) ; }
broken up into an index of the array.
broken up into an index of the array .
// Show it to user. // return splitScore; // end of splitArray function