Stand In Line is a CheckPoint where you're supposed to:
Write a function nextInLine
which has two parameters
an array (arr
) and a number (item
).
That part has been done for you here:
function nextInLine(arr, item) { }
Stand In Line is a CheckPoint where you're supposed to:
Write a function nextInLine
which has two parameters
an array (arr
) and a number (item
).
That part has been done for you here:
function nextInLine(arr, item) { }
// Record Collection: (I have added the instructions to the comments.) | |
// First we need to understand that collection is an object with children objects. | |
// collections is an object with 4 properties: 2548, 2468, 1245 & 5439 | |
// Each of those object properties have a child object. | |
// Those child objects can have up to three properties: album, artist & tracks | |
// Of those album & artist are strings and tracks is an array. | |
// Write a function which takes an album's id (like 2548), | |
// a property key (or name) ... prop (like "artist" or "tracks"), |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title> | |
Joseph A. Tracy's Assignement Three | |
</title> | |
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> |