| Tom Sepez | 5eb17d3 | 2019-11-08 21:23:53 +0000 | [diff] [blame] | 1 | Alert: doc is [object global] |
| 2 | Alert: icon is [object Object] |
| 3 | Alert: icon list is now [object Object],[object Object] |
| 4 | Alert: they are named icon1 and icon2 |
| 5 | Alert: they are also named icon1 and icon2 |
| 6 | Alert: but they are made anew each time since false is returned from comparison |
| Tom Sepez | ab23ea7 | 2019-12-10 00:36:11 +0000 | [diff] [blame] | 7 | Alert: Prototype comparison is true |
| 8 | Alert: Made anew from JS side since comparison is false |
| 9 | Alert: Prototype comparison is true |
| 10 | Alert: Dubious name is undefined |
| 11 | Alert: name is unchanged from undefined |
| Tom Sepez | 5eb17d3 | 2019-11-08 21:23:53 +0000 | [diff] [blame] | 12 | Alert: As expected, trying to change the name gave: Icon.name: Cannot assign to readonly property. |