Three, Json way function

A, Json way function

// 4. view object information console.dir (obj) => you can display all of the object properties and methods. 
var info = { 
    Blog: "http://cllgeek.github.io" , 
    Number: 495 489 065 , 
    Message: "your program enthusiasts join" 
}; 
console.dir (info);

This convenient way to view the properties

 

Guess you like

Origin www.cnblogs.com/fger/p/10980277.html