Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537
Object number function boolean underfind
當然有的時候面試官會問你js的數(shù)據(jù)類型有哪些?
number,string,boolean,null,undefined,Object
強制(parseInt,parseFloat,number)
隱式(=====)
讓利用事件冒泡的原理,讓自己的所觸發(fā)的事件,讓他的父元素代替執(zhí)行!
remove()把DOM和節(jié)點都刪除,empty()只清空DOM里面的節(jié)點。
==類型不同的時候,會轉換數(shù)據(jù)類型,再去比較值
===不會轉換數(shù)據(jù)類型,值和類型都相同才會比較成功
前者是切割成數(shù)組的形式,后者是將數(shù)組轉換成字符串
fun.call(thisobj,arg1,arg2) ;當后面參數(shù)個數(shù)確定時用call,參數(shù)之間用逗號連接
fun.apply(thisobj,[arg1,arg2]);當后面參數(shù)個數(shù)不確定時用apply,參數(shù)通過數(shù)組形式輸入
console.log(arr instanceof Array)
console.log(arr.construct===Array)
console.log(Array.isArray(arr))
創(chuàng)建一個新對象
將構造函數(shù)的作用域賦值給新對象(所以this指向了這個新對象)
執(zhí)行構造函數(shù)的代碼(為這個新對象添加屬性)
返會新對象
如果你覺得無聊,那就學習吧!
標題:<h1>,<h2><h3>,<h4>,<h5>,<h6>
段落:<p>
鏈接:<a>
圖片:<img>
水平線:<hr/>
折行:<br/>
表格:<table>
表格標題:<caption>
表格的表頭:<th>
表格單元:<td>
表格的頁眉:<thead>
表格的主體:<tbody>
表格的頁腳:<tfoot>
列表:<ul>,<ol>,<li>,<dl>,<dd>,<dt>
表單:<form>
文本輸入:<input type="text">
單選按:<input type="radio">
復選按鈕:<input type="checkbox">
提交按鈕:<input type="submit">
密碼輸入:<input type="password">
下拉列表:<select>,<option>
文本域:<textarea>
按鈕:<input type="button" value=" ">,<button>
sublime的安裝和使用
創(chuàng)建你的第一個網(wǎng)頁
標簽的講解
表格標簽和列表
塊級元素和行內(nèi)元素的區(qū)別
表單上
表單中
表單下——文本輸入類型
你必須非常努力,才能看起來毫不費力!
關注小白前端持續(xù)收到文章推送!
章架構圖
?
完整閱讀本文大約需要二十分鐘時間,可根據(jù)文章結構圖直接閱讀自己需要的部分。
?
*請認真填寫需求信息,我們會在24小時內(nèi)與您取得聯(lián)系。