修改文档错误
``` const $ = db.command.aggregate db.collection('exams').aggregate() .project({ first: $.arrayElemAt(['$scores', 0]), last: $.arrayElemAt(['$scores', -1]), }) .end() ```