1Alert: doc is [object global]
2Alert: icon is [object Object]
3Alert: icon list is now [object Object],[object Object]
4Alert: they are named icon1 and icon2
5Alert: they are also named icon1 and icon2
6Alert: but they are made anew each time since false is returned from comparison
7Alert: Prototype comparison is true
8Alert: Made anew from JS side since comparison is false
9Alert: Prototype comparison is true
10Alert: Dubious name is undefined
11Alert: name is unchanged from undefined
12Alert: As expected, trying to change the name gave: Icon.name: Cannot assign to readonly property.
13