Created
September 28, 2018 06:58
-
-
Save daybrush/82100ab79a2629b52e93eb4485d14fc2 to your computer and use it in GitHub Desktop.
static class properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A { | |
static a() {} | |
static b = 1; | |
static c = /mobi|ios|and/g.test(agent); | |
} | |
// transpile | |
var A = /*#__PURE__*/(function () { | |
A.a = function () {}; | |
})(); | |
A.b = 1; | |
A.c = /mobi|ios|and/g.test(agent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment