DEV Community


Discussion on: What is the worst question you have ever been asked in a job interview?

mrispoli24 profile image
Mike Rispoli

What does $$variablename mean in jQuery?

It doesn't really MEAN anything it was just a naming convention for variables that were known to be holding multiple DOM elements. Although in Prototype the $$ query was the proper one to use when you wanted an array of DOM elements and not just the first match.

Either way all this tells the interviewer is if you followed a specific naming convention. I always remember this as an example of the type of question not to ask candidates.