Debian Codegraph @

js/src/tests/test262/language/eval-code/indirect/cptn-nrml-empty-do-while.js

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 info: |
5 If Result(3).type is normal and its completion value is empty,
6 then return the value undefined
7 esid: sec-performeval
8 es5id: 15.1.2.1_A3.2_T6
9 description: do-while statement
10 ---*/
11
12 assert.sameValue((0,eval)("do ; while(false)"), undefined);
13
14 reportCompare(0, 0);