# MercanRey1.js — listGet() (satır 288) [← MercanRey1.js](index.md) · [← Master](../../wiki.md) ```javascript function listGet(list, index) { if (typeof list.length === "number") { return list[index]; } return list.get(index); } ```