alexei / sprintf.js

sprintf.js is a complete open source JavaScript sprintf implementation
BSD 3-Clause "New" or "Revised" License
2.11k stars 291 forks source link

error: _fmt.substring is not a function #154

Closed Modarresi closed 7 years ago

Modarresi commented 7 years ago

I receive this error when run my program:

TypeError: _fmt.substring is not a function at sprintf_parse (......\node_modules\sprintf-js\src\sprintf.js:191:25) at sprintf (......\node_modules\sprintf-js\src\sprintf.js:26:31)

what is problem

Modarresi commented 7 years ago

ops! this is my bad use of sprintf. sorry my problem resolved.