New course! Every coder should learn Generative AI!
Try a free lesson0
How to use onblur function to check thetext field if it has value and it will return,how to alert user if the text field is nul
Please put the code
1 Answer
0
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.keys(object1));
Output will be [a, b, c]
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.values(object1));
Output will be [somesring, 42, false]