mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
13 lines
194 B
JavaScript
13 lines
194 B
JavaScript
// "static" is not a keyword; it's a contextual identifier
|
|
var C = class {
|
|
static x = 1;
|
|
static y = 2;
|
|
};
|
|
|
|
// Static init blocks
|
|
var D = class {
|
|
static {
|
|
var x = 1;
|
|
}
|
|
};
|