mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
bb026fc12c
Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } Fixes gh-1693
9 lines
182 B
JavaScript
9 lines
182 B
JavaScript
"use strict";
|
|
|
|
if ( typeof Symbol === "undefined" ) {
|
|
console.log( "Symbols not supported, skipping the test..." );
|
|
process.exit();
|
|
}
|
|
|
|
require( "./lib/ensure_iterability_es6" )();
|