text: function assert(param) { return Boolean(param)}
  assert.throws = function (error, func, message) { try{ func(); return false; } catch(e){ return e instanceof error;}}
  // This file was procedurally generated from the following sources:
  // - src/dstr-binding/ary-init-iter-get-err.case
  // - src/dstr-binding/error/const-stmt.template
  /*---
  description: Abrupt completion returned by GetIterator (`const` statement)
  esid: sec-let-and-const-declarations-runtime-semantics-evaluation
  features: [Symbol.iterator, destructuring-binding]
  flags: [generated]
  info: |
      LexicalBinding : BindingPattern Initializer
  
      1. Let rhs be the result of evaluating Initializer.
      2. Let value be GetValue(rhs).
      3. ReturnIfAbrupt(value).
      4. Let env be the running execution context's LexicalEnvironment.
      5. Return the result of performing BindingInitialization for BindingPattern
         using value and env as the arguments.
  
      13.3.3.5 Runtime Semantics: BindingInitialization
  
      BindingPattern : ArrayBindingPattern
  
      1. Let iterator be GetIterator(value).
      2. ReturnIfAbrupt(iterator).
  
  ---*/
  var iter = {};
  iter[Symbol.iterator] = function() {
    throw new Test262Error();
  };
  
  var __result1 = assert.throws(Test262Error, function() {
    const [x] = iter;
  });
  var __expect1 = true;
  