开发者问题收集
Array.prototype.uniq = function() {narr = [];for (let i = 0; i < 0; i++) {if (!narr.include(this[i])) {narr.push(this[i]);}}return narr;}console.log(([1, 2, 2, 3, 3, 3].uniq() => [1, 2, 3]));我正在尝试对上述代