1 line
112 B
JavaScript
1 line
112 B
JavaScript
|
|
Object.keys(elements).forEach((element)=>{if (elements[element].category == "life") {delete elements[element]}})
|