jQuery的本质是什么
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>haohao</title>
<link rel="stylesheet" href="">
<script src="../js/jQuery-3.3.js"></script>
<script>
$(function(){
/*
1.什么是jQuery对象
jQuery对象是一个伪数组
*
*
2.什么是伪数组
伪数组是由0到length - 1的属性,并且呦length属性
*/
var $div = $("div");
console.log($div);
var arr = [1,3,5];
console.log(arr);
});
</script>
</head>
<body>
<div>div1</div>
<div>div2</div>
<div>div3</div>
</body>
</html>