According to the rules of English, 'is' is used with a single object, and 'are' with multiple objects or no objects (zero). Hence, the code in the first example of the :checked selector documentation should read $("div").text(n + (n == 1 ? " is" : " are") + " checked!"); and not $("div").text(n + (n != 1 ? " is" : " are") + " checked!");
According to the rules of English, 'is' is used with a single object, and 'are' with multiple objects or no objects (zero). Hence, the code in the first example of the
:checkedselector documentation should read$("div").text(n + (n == 1 ? " is" : " are") + " checked!");and not$("div").text(n + (n != 1 ? " is" : " are") + " checked!");