﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 9872,"$.each(['selector'], function() { $(this) } produces unexpected behavior",cmoschini,,"See this JSFiddle: http://jsfiddle.net/87kKw/ This is unexpected behavior. callback.call() in .each() appears to type the string as 'object' even though its type is string when passed in. Things then go awry in .init(), on this line: if ( typeof selector === ""string"" ) { Since .call() is native, this could be resolved by changing the string test from typeof string to a property test like: if ( selector.charCodeAt ) { Which passes even when the string comes in from .each() or other .call() codepaths.",bug,closed,low,None,core,1.6.2,wontfix,,,,