// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid:sec-globaldeclarationinstantiation es6id:15.1.8 description:Declarationofvariablewherepermissible info:| [...] 11.LetdeclaredVarNamesbeanewemptyList. 12.ForeachdinvarDeclarations,do a.IfdisaVariableDeclarationoraForBinding,then i.ForeachStringvnintheBoundNamesofd,do 1.IfvnisnotanelementofdeclaredFunctionNames,then a.LetvnDefinablebe?envRec.CanDeclareGlobalVar(vn). b.IfvnDefinableisfalse,throwaTypeErrorexception. c.IfvnisnotanelementofdeclaredVarNames,then i.AppendvntodeclaredVarNames. [...] 18.ForeachStringvnindeclaredVarNames,inlistorderdo a.Perform?envRec.CreateGlobalVarBinding(vn,false). [...]
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.