Proceedings of the ACM International Conference Companion on Object Oriented Programming Systems Languages and Applications Com 2011
DOI: 10.1145/2048147.2048222
|View full text |Cite
|
Sign up to set email alerts
|

Naming anonymous javascript functions

Abstract: JavaScript developers create programs by calling functions and they use functions to construct objects. JavaScript development tools need to report to developers about those functions and constructors, for example in debugger callstacks and in object representations. However, most functions are anonymous: developers need not to specify names for functions. Based on our analysis of ten large, widely used JavaScript projects, less than 7% of JavaScript functions are named by developers. After studying examples f… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2014
2014
2023
2023

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(1 citation statement)
references
References 10 publications
0
1
0
Order By: Relevance
“…Park and colleagues [6] studied top 98 Alexa pages and 9 JavaScript libraries to find whether with statements in the scripts can be replaced with JavaScript idioms. Mirghashemi et al [21] explored a program transformation approach to rename anonymous function studying 10 JavaScript libraries. Yue and colleagues [7] studied scripts from the top 500 Alexa pages in 15 categories (removing overlaps, 6,805 pages in total) to understand how insecure practices such as eval and innerHTML are used.…”
Section: Related Workmentioning
confidence: 99%
“…Park and colleagues [6] studied top 98 Alexa pages and 9 JavaScript libraries to find whether with statements in the scripts can be replaced with JavaScript idioms. Mirghashemi et al [21] explored a program transformation approach to rename anonymous function studying 10 JavaScript libraries. Yue and colleagues [7] studied scripts from the top 500 Alexa pages in 15 categories (removing overlaps, 6,805 pages in total) to understand how insecure practices such as eval and innerHTML are used.…”
Section: Related Workmentioning
confidence: 99%