// Copyright (C) 2017 Caio Lima. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- desc: > Object rest element needs to be the last AssignmenProperty in ObjectAssignmentPattern. template: syntax esid: pending negative: phase: parse type: SyntaxError features: [object-rest] ---*/ //- setup throw "Test262: This statement should not be evaluated."; var rest, b; //- elems {...rest, b} //- vals {}