optional args
JavaScript performance comparison
Info
Comparison of various "optional argument" implementations. Staring with trivial.
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
arguments[0] and void |
|
pending… |
arguments[0] and undefined |
|
pending… |
ad-hoc |
|
pending… |
Compare results of other browsers
Revisions
You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:
- Revision 1: published by optional arguments
- Revision 2: published by ainthek
- Revision 3: published
- Revision 4: published
0 comments