mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +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`.
324 B
324 B