Created
April 10, 2017 17:29
-
-
Save plong0/1859baf790621013e6d1f175a6897374 to your computer and use it in GitHub Desktop.
Babel typeof
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
export default class Foo { | |
constructor(){ | |
console.log('Hi Foo!'); | |
} | |
} |
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
import Foo from './foo.js'; | |
var foo = new Foo(); | |
console.log('foo is a ['+(typeof foo)+']'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment