`styleObject` is simply for use in the [`setStyle` method](http://leafletjs.com/reference.html#path-setstyle) down on line 113. That method passes the object along to `L.setOptions`, which uses `L.extend`, which makes sure only the properties specified are altered. Here, only the `key` is specified, so only the style with a name matching `key` will be changed.