Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31607

Re: iframe function

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: iframe function
Date 2016-10-24 12:16 +0100
Organization PointedEars Software (PES)
Message-ID <4243030.31r3eYUQgx@PointedEars.de> (permalink)
References <obqdnb-4PICQ55DFnZ2dnUU7-IHNnZ2d@westnet.com.au> <16w23ipep3k6w$.1zxui9r36ciz$.dlg@40tude.net> <5211838.lOV4Wx5bFT@PointedEars.de>

Show all headers | View raw


Thomas 'PointedEars' Lahn wrote:

> The function referred to by the value of “myFunc” compares against the
> value of the variable “aVar” declared in the iframe document because when
> the former was created it was *bound* to the latter (see: “closure” in
> general, and “lexical contexts” in the ECMAScript Language Specification,
> from the 2015 Edition, in particular).

The proper key word is “lexical _environment”; see in particular 
<http://www.ecma-international.org/ecma-262/7.0/#sec-function-definitions-runtime-semantics-evaluation> (the 7th edition, of 2016, is easier to read 
at least because of better site navigation).

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

iframe function Andrew Poulos <ap_prog@hotmail.com> - 2016-10-24 14:03 +1100
  Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 04:26 +0100
    Re: iframe function Andrew Poulos <ap_prog@hotmail.com> - 2016-10-24 19:17 +1100
      Re: iframe function Tim Streater <timstreater@greenbee.net> - 2016-10-24 10:03 +0100
      Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 11:16 +0100
        Re: iframe function Tim Streater <timstreater@greenbee.net> - 2016-10-24 11:28 +0100
        Re: iframe function Luuk <luuk@invalid.lan> - 2016-10-24 19:19 +0200
          Re: iframe function Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-10-25 21:19 +0100
            Re: iframe function Luuk <luuk@invalid.lan> - 2016-10-26 22:30 +0200
      Re: iframe function Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2016-10-26 06:15 -0200
        Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-27 22:11 +0100
  Re: iframe function JJ <jj4public@vfemail.net> - 2016-10-24 13:25 +0700
    Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 11:58 +0100
      Re: iframe function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-10-24 12:16 +0100

csiph-web