Правильный тип объектов проверки в JavaScript
// Correctly type checking objects in Javascript
const Drinks = {
Name:'Lemonde',
ID: '#0000#✏#',
Sale :{
price:99,
Full:100
}
}
console.log(Object.prototype.toString.call(Drinks)); // Result = [object object]
// Note you can also use this method to type check Arry too.
Quaint Quoll