mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
15 lines
289 B
TypeScript
15 lines
289 B
TypeScript
|
// @target: es6
|
|||
|
class B {
|
|||
|
"hello" = 10;
|
|||
|
0b110 = "world";
|
|||
|
0o23534 = "WORLD";
|
|||
|
20 = "twenty";
|
|||
|
"foo"() { }
|
|||
|
0b1110() {}
|
|||
|
11() { }
|
|||
|
interface() { }
|
|||
|
static "hi" = 10000;
|
|||
|
static 22 = "twenty-two";
|
|||
|
static 0b101 = "binary";
|
|||
|
static 0o3235 = "octal";
|
|||
|
}
|