// A more cryptic one-liner, to awe & impress.
// No need to protect `window` since `this` is
// immutable, and at the topmost level means
// `window` anyways. Here, we compare locations
// on the left side of the "&&" and execute the
// code in parenthesis if that condition is
// true (top location isn't iframe location).
// Otherwise, nothing happens. It's basically an
// if statement without wrapping curly brackets.
// Weird, I know. But pretty cool, right? :)
this.top.location !== this.location && (this.top.location = this.location);