JavaScript records duplicate numbers

//  :

let proList = [
    {id:"11111111"},
    {id:"22222222"},
    {id:"22222222"},
    {id:"22222222"},
    {id:"33333333"},
    {id:"11111111"},
    {id:"11111111"},
    {id:"33333333"},
    {id:"11111111"},
    {id:"11111111"},
];

// :
1mun:id
2
let proList = [
    {id:"11111111",mun:""},
    {id:"22222222",mun:""},
    {id:"33333333",mun:""},
];
Sep.17,2021


      let proList = [
            {id:"11111111"},
            {id:"22222222"},
            {id:"22222222"},
            {id:"22222222"},
            {id:"33333333"},
            {id:"11111111"},
            {id:"11111111"},
            {id:"33333333"},
            {id:"11111111"},
            {id:"11111111"}
        ];

        let results = (function(arr){
            let mun = 0;
            let len = arr.length;

            for (let i = 0; i < len; iPP) {
                for (let j = 0; j < len; j PP) {
                    if(arr[i].id === arr[j].id) {
                        munPP;
                    }
                }
                arr[i].mun = mun;
                mun = 0;
            }
            return (function(songs){
                let result = {};
                 let finalResult=[];
                 for(let i=0;i<songs.length;iPP){
                     result[songs[i].id]=songs[i];
                 }
                 for(item in result){
                     finalResult.push(result[item]);
                 }
                 return finalResult;
            }(arr));
        }(proList));

        console.log(results)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beda58-46bd7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beda58-46bd7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?