<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><channel rdf:about="https://www.bibsonomy.org/user/jil/ecmascript"><title>BibSonomy bookmarks for /user/jil/ecmascript</title><link>https://www.bibsonomy.org/user/jil/ecmascript</link><description>BibSonomy RSS Feed for /user/jil/ecmascript</description><items><rdf:Seq><rdf:li rdf:resource="https://codeburst.io/js-scope-static-dynamic-and-runtime-augmented-5abfee6223fe"/><rdf:li rdf:resource="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html"/><rdf:li rdf:resource="http://www.ecma-international.org/publications/standards/Ecma-262.htm"/></rdf:Seq></items></channel><item rdf:about="https://codeburst.io/js-scope-static-dynamic-and-runtime-augmented-5abfee6223fe"><title>JS scope: static, dynamic, and runtime-augmented – codeburst</title><description>    Definition 4: This value: in JavaScript this value is dynamically scoped, unless used in an arrow function.

That’s correct: as we know, the value of this is determined and provided exactly by the caller.

function produce() {
  console.log(this.x);
}

const alpha = {produce, x: 1};
const beta  = {produce, x: 2};
const gamma = {produce, x: 3};

console.log(
  alpha.produce(), // 1
  beta.produce(),  // 2
  gamma.produce(), // 3
);</description><link>https://codeburst.io/js-scope-static-dynamic-and-runtime-augmented-5abfee6223fe</link><dc:creator>jil</dc:creator><dc:date>2018-07-23T22:44:43+02:00</dc:date><dc:subject>dynamic ecmascript example function interface js this </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;    Definition 4: This value: in JavaScript this value is dynamically scoped, unless used in an arrow function.

That’s correct: as we know, the value of this is determined and provided exactly by the caller.

function produce() {
  console.log(this.x);
}

const alpha = {produce, x: 1};
const beta  = {produce, x: 2};
const gamma = {produce, x: 3};

console.log(
  alpha.produce(), // 1
  beta.produce(),  // 2
  gamma.produce(), // 3
);&lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/dynamic"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/ecmascript"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/example"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/function"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/interface"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/js"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/this"/></rdf:Bag></taxo:topics></item><item rdf:about="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html"><title>ECMAScript Language Binding</title><description></description><link>http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html</link><dc:creator>jil</dc:creator><dc:date>2007-03-22T11:32:01+01:00</dc:date><dc:subject>api binding dom ecmascript html javascript js spec standard w3c </dc:subject><content:encoded>&lt;a itemprop=&#034;url&#034; data-versiondate=&#034;2007-03-22T11:32:01+01:00&#034; href=&#034;http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html&#034; rel=&#034;nofollow&#034; class=&#034;description-link&#034;&gt;http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/ecma-script-binding.html&lt;/a&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/api"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/binding"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/dom"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/ecmascript"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/html"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/javascript"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/js"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/spec"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/standard"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/w3c"/></rdf:Bag></taxo:topics></item><item rdf:about="http://www.ecma-international.org/publications/standards/Ecma-262.htm"><title>Standard ECMA-262</title><description></description><link>http://www.ecma-international.org/publications/standards/Ecma-262.htm</link><dc:creator>jil</dc:creator><dc:date>2007-03-22T11:28:02+01:00</dc:date><dc:subject>api ecmascript ieee javascript js spec standard web </dc:subject><content:encoded>&lt;a itemprop=&#034;url&#034; data-versiondate=&#034;2007-03-22T11:28:02+01:00&#034; href=&#034;http://www.ecma-international.org/publications/standards/Ecma-262.htm&#034; rel=&#034;nofollow&#034; class=&#034;description-link&#034;&gt;http://www.ecma-international.org/publications/standards/Ecma-262.htm&lt;/a&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/api"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/ecmascript"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/ieee"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/javascript"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/js"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/spec"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/standard"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/web"/></rdf:Bag></taxo:topics></item></rdf:RDF>