Created
October 17, 2018 06:00
-
-
Save ntnyq/72329f49dc40f8305151557174c65ac4 to your computer and use it in GitHub Desktop.
单例模式
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
var ntnyq = function () { | |
function Goy () {} | |
Goy.fn = Goy.prototype; | |
return new Goy(); | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment