When you open a popup window of a page on a different domain, for security reasons you might want to set its window.opener to null. This is a type error in 2.0 because the opener property is incorrectly declared read-only:
var newWnd = window.open(...);
newWnd.opener = null;
// Left-hand side of assignment expression cannot be a constant or a read-only property.
When you open a popup window of a page on a different domain, for security reasons you might want to set its window.opener to null. This is a type error in 2.0 because the
openerproperty is incorrectly declared read-only: