摘要: 以下函数内部会打印出什么? function test () { console.log(a); console.log(b); console.log(c); console.log(d); if (false) { var c = function () {}; var a = 10; } if 阅读全文
posted @ 2020-11-22 23:54 pandajs163 阅读(58) 评论(0) 推荐(0)
摘要: 请列举出css中不定宽高居中(上下左右居中)的方式 方式一 使用 table-cell 来实现不定宽高居中,但是这是很古老的方法了,不推荐这种做法 <!-- HTML --> <div class="align_box_2"> <span class="align_word">这里显示多行文字。</ 阅读全文
posted @ 2020-11-22 12:46 pandajs163 阅读(79) 评论(0) 推荐(0)
摘要: 以下函数会打印什么? 阅读全文
posted @ 2020-11-22 12:41 pandajs163 阅读(64) 评论(0) 推荐(0)