Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Name anonymous property functions #522

Merged
merged 1 commit into from Dec 12, 2014

Conversation

vojtajina
Copy link
Contributor

When instrumenting code, use the property name instead of ‘anonymous’.

{
  foo: function() {
    // If anonymous, this function will be named ‘foo’.
  }
}

When instrumenting code, use the property name instead of ‘anonymous<num>’.

```js
{
  foo: function() {
    // If anonymous, this function will be named ‘foo’.
  }
}
```
benvanik added a commit that referenced this pull request Dec 12, 2014
@benvanik benvanik merged commit 9f41a9a into google:master Dec 12, 2014
@vojtajina vojtajina deleted the name-property-functions branch January 6, 2015 06:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants