Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a = function() {},
- b = function b() {},
- c = function foo() {};
- function d() {}
- alert(a.name); // ""
- alert(b.name); // "b"
- alert(c.name); // "foo"
- alert(d.name); // "d"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement