jQuery $ prototype
Par PlaceOweb le samedi, septembre 2 2017, 12:46 - Javascript - Lien permanent
$( document ).ready(function() { console.log("isLoaded"); console.log($); console.log($()); console.log($.prototype); console.log($().jquery); console.log(jQuery); console.log(jQuery()); console.log(jQuery.prototype); console.log(jQuery().jquery); console.log($.fn); console.log($.fn.jquery); }); /* isLoaded function () Object { } Object { jquery: "3.2.1", constructor: jQuery(), length: 0, toArray: toArray(), get: get(), pushStack: pushStack(), each: each(), map: map(), slice: slice(), first: first(), 132 de plus… } 3.2.1 function () Object { } Object { jquery: "3.2.1", constructor: jQuery(), length: 0, toArray: toArray(), get: get(), pushStack: pushStack(), each: each(), map: map(), slice: slice(), first: first(), 132 de plus… } 3.2.1 Object { jquery: "3.2.1", constructor: jQuery(), length: 0, toArray: toArray(), get: get(), pushStack: pushStack(), each: each(), map: map(), slice: slice(), first: first(), 132 de plus… } 3.2.1 */