.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events:none;
}
Couldn't find Node.js. Make sure it's in your $PATH
информация о том, что требуется включить JS
var src = [
{name: 'Vasya'},
{name: 'Zina'},
{name: 'Vasya'},
{name: 'Vasya'},
{name: 'Petya'},
{name: 'Vasya'},
{name: 'Petya'},
{name: 'Vasya'},
];
var temp = [];
src.forEach(function(e){
if(temp.indexOf(e.name) == -1){
temp.push(e.name);
}
});
src = temp.map(function(e){
return {name:e};
});
console.log(src);