replace {0..9} by given arguments
console.log( sprintf( 'here is arg 1 {1} and arg 0 {0}', 'argument 0', 'argument 1' ) ) Copy
console.log( sprintf( 'here is arg 1 {1} and arg 0 {0}', 'argument 0', 'argument 1' ) )
string
Rest
Generated using TypeDoc
replace {0..9} by given arguments
Example