Page 1 of 1

The first statement assigns a string to the variable people. The subsequent assignments split the string into various ar

Posted: Sat May 14, 2022 7:07 pm
by answerhappygod
The First Statement Assigns A String To The Variable People The Subsequent Assignments Split The String Into Various Ar 1
The First Statement Assigns A String To The Variable People The Subsequent Assignments Split The String Into Various Ar 1 (29.88 KiB) Viewed 88 times
The first statement assigns a string to the variable people. The subsequent assignments split the string into various arrays. For each of the statements, draw the memory cell associated with the variable after the assignment has been made. Use boxes to show array items. people = 'von Neumann, John 1903\n' + 'Turing, Alan 1913'; split1 - people.split(""); split2 - people.split(); split3 = people.split(/[.\n]/); split4 = people.split(/[.\n]+/);