mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
According to ECMA-262 §15.4.5 (MethodDefinitionEvaluation), getters and setters defined in class bodies must create property descriptors with [[Enumerable]]: false. Previously we incorrectly marked them enumerable. This patch updates `ClassMethod::class_element_evaluation` so that both getter and setter descriptors use `.enumerable = false`.