Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

JavaScriptFormat

仿照Python的format方法, JS实现

用法

    format(console.log(),'a is {0}, b is {1}', 'test','haha');
    format('','a is {0}, b is {1}', 'test','haha');

显示结果

a is test, b is haha

About

仿照Python的format方法, JS实现

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages