How do you use find in es6?

I want to return a data corresponding to id based on the data.id passed in

clipboard.png

Feb.28,2021

</span>

:


let valueId = 1 //ID
let value = this.EndList.find((element,index,array)=>{
    return element.id === valueId;
}) 
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-1b2b93d-2bab8.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-1b2b93d-2bab8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?