Possible Duplicate:
Javascript multiple assignment statement
I was wondering what this does. I have tried to search for it, but I can’t find out.
var config = $.cookie = function (key, value, options) {};
I am referring to the multiple equals in the above line. What is it good for? What does it mean? I have never seen that before.
You are assigning to the variable
configand the propertycookieof$the anonymous function.