JS变量提升test
<!--@description-->
<!--@author beyondx-->
<!--@date Created in 2022/07/30/ 22:49-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
var a = 12;
function abc() {
alert(a);
var a = 10;
}
abc();
</script>
</body>
</html>