Answers for "console table js"

2

console table js

const objArray = [
  { name: 'John', age: 30, occupation: 'teacher' },
  { name: 'Jane', age: 25, occupation: 'designer' },
  { name: 'Joe', age: 20, occupation: 'developer' },
];

console.table(objArray);
Posted by: Guest on April-27-2022
2

console.table javascript

//object in table
console.table({
        firstname: "Kinjal",
        lastname: "Suryavanshi"
    });
//array in table
    console.table(['graps','apple','orange']);
Posted by: Guest on October-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language