1 2 3 4 5
function f(type) { for (var i = 0; i < 3; i++) {} assertEq((new String) instanceof type, true); } f(String);