What does the “r” mean in chrome dev tools when you're looking at a Backbone Object?
问题 I'm learning backbone and using chrome devl tools to look at objects in my browser. What does the 'r' mean? 回答1: It's the name of the constructor used to create the model object. However in this case the Backbone code has been minified. If you create an instance of the base Model class it will be logged like this: If you look at the Backbone source code you can find the constructor definition: var Model = Backbone.Model = function(attributes, options) { However, if your code is compressed the