We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fb4795 + ecaac24 commit f99be7fCopy full SHA for f99be7f
lib/array.js
@@ -444,9 +444,9 @@ helpers.map = function(array, iter) {
444
445
helpers.pluck = function(arr, prop) {
446
if (util.isUndefined(arr)) return '';
447
- let res = [];
448
- for (let i = 0; i < arr.length; i++) {
449
- let val = utils.get(arr[i], prop);
+ var res = [];
+ for (var i = 0; i < arr.length; i++) {
+ var val = utils.get(arr[i], prop);
450
if (typeof val !== 'undefined') {
451
res.push(val);
452
}
0 commit comments