1. var myfamily = [
    2. {
    3. relation:"dady",
    4. like:"唱歌",
    5. location:"广东"
    6. },{
    7. relation:"mom",
    8. like:"看剧",
    9. location:"江西"
    10. },{
    11. relation:"my",
    12. like:"timi",
    13. location:"湖北"
    14. }
    15. ]
    1. for(
    2. var i =0;
    3. i<=3 ;
    4. i++
    5. ){
    6. console.log(i)
    7. }
    1. var str = "hello world \"good\""
    2. console.log(str);
    1. var a = 10;
    2. var b = a++ + 30 + a++;
    3. console.log(a);
    4. console.log(b);
    1. var a =10 && 20;
    2. console.log(a);
    3. var b =10 || 0;
    4. console.log(b);
    1. var a = "21"+4-true+"3";
    2. console.log(a);
    3. var a = 10;
    4. a++;
    5. b= ++a +2;
    6. c= ++b + a++ +4;
    7. console.log(a,b,c);