Skip to content

YellowDragonLive/js-desiign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

js-desiign

单例模式

const getSingle = function( fn ){
  let result;
    return function(){
      return result || ( result = fn.apply(this, arguments ))
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published