美文网首页
comment your code - javascript

comment your code - javascript

作者: Zihowe | 来源:发表于2017-08-26 13:58 被阅读3次
var 
    // first name of the person
    firstname, 
    
    // last name of the person
    lastname, 
    
    // the language
    // can be 'en' or 'es'
    language;

var person = {
    // the first name
    firstname: 'John',
    
    // the last name
    // (always required)
    lastname: 'Doe'
}

console.log(person);

相关文章

网友评论

      本文标题:comment your code - javascript

      本文链接:https://www.haomeiwen.com/subject/mvwmdxtx.html