Joined February 2012
·

Saurabh Kumar

Programmer, UX Designer and www's enthusiast. at Fueled
·
India
·
·
·

Posted to smart javascript state toggle over 1 year ago

var toggle = {'a':'b', 'b':'c', 'c':'a'}

would give me three states. Lovely.

Achievements
69 Karma
16,568 Total ProTip Views