What should my function look like?


I can't think of what the function should look like. I tried other peoples' functions, but I only got error messages. Help!


Here is a simple function that will return all the primary key names in an object:

// a function to list object keys
var list = function (object) {
    for (var key in object) {

// call the function, passing `friends` as the object argument