i just tried this code
console.log(typeof(jQuery))
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
It alerts function, which means the typeof jQuery is function.
My question is, what's the exact type of jQuery? If it's function, how come it has properties like jQuery.browser and jQuery.ajax?
Aucun commentaire:
Enregistrer un commentaire