[ARM,MIPS] Skip slow tests
[WebKit-https.git] / JSTests / stress / default-proto-for-async-generator.js
1 function shouldBe(actual, expected) {
2     if (actual !== expected)
3         throw new Error('bad value: ' + actual);
4 }
5
6 async function* asyncGenerator() { }
7
8 var AsyncGeneratorPrototype = Object.getPrototypeOf(asyncGenerator).prototype;
9 asyncGenerator.prototype = null;
10
11 shouldBe(Object.getPrototypeOf(asyncGenerator()), AsyncGeneratorPrototype);