JenMorgan / js-learning

0 stars 0 forks source link

Write a JavaScript function to retrieve all the values of an object's properties #24

Open kartamyshev opened 4 years ago

JenMorgan commented 4 years ago
function ifEmpty (obj) {
     for (let key in obj) {
         alert(obj[key]);
     }
};