將這 30 天的資料做成目錄,並簡單說明內容,方便查找
alert();
console.log();
var 的說明if else和 else if
document.getElementById( ).textContent
toFixed()
function 的說明return
array 的說明length
push、unshift、pop、shift
if else和 else if
switch case
== 和 ===
object 的說明this
for、while
i++
getElementById()
querySelector()
getElementsByClassName()
querySelectorAll()
getAttribute()
setAttribute()
hasAttribute()
removeAttribute()
textContent
innerHTML
createElement()
appendChild()
event 的說明element.onevent = functionName;
element.addEventListener('event' , functionName , BooLean);
event.stopPropagation()
event.preventDefault()
e.target 與 e.target.nodeName
localStorage.setItem()、localStorage.getItem()
JSON.stringify()、JSON.parse()
data-
splice()
document、screen、location、navigator、history
window.alert()、window.open()、window.print()
get
xhr.onload、xhr.status
post
真。完結,謝謝!
(灑花!)