21:37 | <Chris de Almeida> | what did we used to do in the dark ages before Object.values() ? |
21:37 | <littledan> | for-in? |
21:45 | <ljharb> | Object.keys().map |
21:46 | <ljharb> | for-in was for the much much darker days before Object.keys |
21:54 | <shu> | i yearn for the dark days |
23:41 | <kriskowal> | I remember the dark days. for (var key in object) { if (hasOwnProperty.call(object, key) { |
23:42 | <kriskowal> | Bearing in mind, prototype.js may have run first. |
23:43 | <kriskowal> | Also, for (var i = 0, l = array.length; i < l; i++) { , which remains the faster pattern on XS, fwiw. |