Javascript Array Prototype Values Not Working Like Mdn Example

Javascript Array Prototype Values Not Working Like Mdn Example