Javascript convention for attribute names

Terror Shroud

New Member
JS noob here. What's the convention for naming multi-word object attributes. For instance, should I use camelCase or under_scores (or something else)?\[code\]var clock = [ 'currentTime':, 'futureTime':,]var clock = [ 'current_time':, 'future_time':,]\[/code\]
 
Back
Top