320d98709f
This is a JavaScript fuzzer originally authored by Oliver Chang. It is a mutation based fuzzer using Babel code transformations. For more information see the included README.md. The original code was altered: - Add new V8 copyright headers. - Make the test expectation generator aware of the headers. - Fix file endings for presubmit checks. - Fix `npm test` on fresh checkout with a new fake DB. - Make test skipping work with new v8/tools location. - OWNERS file. - New title section in README.md. No-Try: true Bug: chromium:1109770 Change-Id: Ie71752c0a37491a50500c49060a3c526716ef933 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2320330 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#69164}
31 lines
672 B
JavaScript
31 lines
672 B
JavaScript
// Copyright 2020 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
function __f_0(__v_10, __v_11) {
|
|
let __v_4 = 4;
|
|
let __v_5 = 5;
|
|
let __v_6 = 6;
|
|
let __v_7 = 7;
|
|
console.log(__v_4);
|
|
console.log(__v_5);
|
|
console.log(__v_6);
|
|
console.log(__v_7);
|
|
for (let __v_9 = 0; __v_9 < 10; __v_9++) {
|
|
console.log(__v_4);
|
|
}
|
|
let __v_8 = 0;
|
|
while (__v_8 < 10) {
|
|
__v_8++;
|
|
}
|
|
}
|
|
let __v_0 = 1;
|
|
let __v_1 = 2;
|
|
let __v_2 = 3;
|
|
let __v_3 = 4;
|
|
console.log(__v_0);
|
|
console.log(__v_1);
|
|
console.log(__v_2);
|
|
console.log(__v_3);
|
|
__f_0();
|