{"size": 618, "ext": "js", "max_stars_repo_path": "test/built-ins/AsyncIteratorPrototype/Symbol.asyncIterator/return-val.js", "max_stars_repo_name": "katemihalikova/test262", "max_stars_repo_stars_event_min_datetime": "2015-01-02T10:45:13.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T23:04:17.000Z", "max_issues_repo_path": "test/built-ins/AsyncIteratorPrototype/Symbol.asyncIterator/return-val.js", "max_issues_repo_name": "katemihalikova/test262", "max_issues_repo_issues_event_min_datetime": "2015-01-06T05:01:55.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T17:18:08.000Z", "max_forks_repo_path": "test/built-ins/AsyncIteratorPrototype/Symbol.asyncIterator/return-val.js", "max_forks_repo_name": "katemihalikova/test262", "max_forks_repo_forks_event_min_datetime": "2015-01-08T16:04:26.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-24T03:34:47.000Z"}
{"max_stars_count": 2602, "max_issues_count": 2157, "max_forks_count": 527, "avg_line_length": 29.4285714286, "max_line_length": 94, "alphanum_fraction": 0.7605177994}
// Copyright (C) 2018 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-asynciteratorprototype-asynciterator
description: Return value of @@asyncIterator
info: |
  %AsyncIteratorPrototype% [ @@asyncIterator ] ( )
    1. Return the this value.
features: [Symbol.asyncIterator, async-iteration]
---*/

async function* generator() {}
var AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(generator.prototype))

var thisValue = {};

assert.sameValue(
  AsyncIteratorPrototype[Symbol.asyncIterator].call(thisValue),
  thisValue
);
