Which code example completes this statement and creates an index for a MongoDB object named restaurants, sorted ascending by the field name?
var indexCollection = function(db) {return co(function*() {…});}; const results = yield db.table(‘restaurants’).createIndex({“name”: 1}, null); return results; const results = yield…