Joined February 2012
·
2017 02 05 01.34.12 3

Saurabh Kumar

Programmer, UX Designer and www's enthusiast. at Fueled
Programmer, UX Designer and www's enthusiast.
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
5,539 Total ProTip Views