2.1 同步與非同步
什麼是 AJAX?
瞭解同步、非同步
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script>
console.log("1");
for(let i = 0; i < 100; i++){
console.log("2");
}
console.log("3");
</script>
</body>
</html>Last updated