summaryrefslogtreecommitdiff
path: root/Userland/Demos
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-05 09:05:52 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-05 22:40:57 +0200
commit09e263dd9c6544037ab44cf0523d23d6d2999b1d (patch)
treed654ee74b0c7a3db13f2afc9184decbee8d0075d /Userland/Demos
parentdd547c3374d92607d6da90a78e3d39fb17fc32b0 (diff)
downloadserenity-09e263dd9c6544037ab44cf0523d23d6d2999b1d.zip
LibJS: Fix "prototype" property of generator functions, again
The change in 3ec0183 wasn't actually correct, the spec tells us to set the "prototype" property of the function (created with a prototype of %GeneratorFunction.prototype% itself) to a newly created object: OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype%)
Diffstat (limited to 'Userland/Demos')
0 files changed, 0 insertions, 0 deletions