Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/src/dstr-binding/default/var-stmt.template

raw
1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 path: language/statements/variable/dstr-
5 name: >
6 `var` statement
7 esid: sec-variable-statement-runtime-semantics-evaluation
8 es6id: 13.3.2.4
9 features: [destructuring-binding]
10 info: |
11 VariableDeclaration : BindingPattern Initializer
12
13 1. Let rhs be the result of evaluating Initializer.
14 2. Let rval be GetValue(rhs).
15 3. ReturnIfAbrupt(rval).
16 4. Return the result of performing BindingInitialization for
17 BindingPattern passing rval and undefined as arguments.
18 ---*/
19
20 var /*{ elems }*/ = /*{ vals }*/;
21
22 /*{ body }*/