See below for what happened in Firefox and Chrome's console:
> var f = function() {}
undefined
> f.name = 'f'
"f"
> f.name
""
> f.id = 1
1
> f.id
1
Why f.name = 'f' is a no-op?
See below for what happened in Firefox and Chrome's console:
> var f = function() {}
undefined
> f.name = 'f'
"f"
> f.name
""
> f.id = 1
1
> f.id
1
Why f.name = 'f' is a no-op?