is jquery

Benchmark created by Dan Heberden on


Description

well, is it?

Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
  var a = new Array();
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
instanceof
a instanceof jQuery;
ready
hacky
a.length !== undefined && typeof length === "number";
a.jquery;
a.constructor.expando;
ready
hasOwnProperty
!a.hasOwnProperty('jquery');
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by Dan Heberden on