Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 471

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 480

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 487

Warning: Attempt to read property "description" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 489

Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 493

2020.8.31陈悦玲

第三周考试总结

1.精灵图的优缺点

css sprite就是将多个小图片拼接到一个图片中,通过background-position和元素的尺寸来调节需要显示的背景图案。

数据类型分为原始数据类型和引用数据类型

原始数据类型:number null string undefined boolean

引用类型:function array object

typeof 返回的类型有哪些?

number function string undefined boolean object

随机数都是默认取整

Math.floor(Math.randoma()*10) (取0-10)

JavaScript的执行是从上往下顺序执行,如果遇到需要等待,就必须等到程序等待完成才能继续执行下面的代码。

匿名函数自调中的this是指向全局对象window

创建函数的几种方式:

函数声明、函数表达式、函数对象表达式

五大浏览器及其内核:

Chrom:blink、 Safari:webkit 、 IE:Trident 、 Opera:blink 、firefox: gecko

评论留言