printj/bits/80_wrapper.js
SheetJS ed55a202b3 version bump 1.0.1: typings
- typescript definitions and types
- flowtype definition refinement
2017-07-04 02:26:51 -04:00

8 lines
326 B
JavaScript

function vsprintf(fmt/*:string*/, args/*:Args*/)/*:string*/ { return doit(tokenize(fmt), args); }
function sprintf(/*:: ...argz*/)/*:string*/ {
var args/*:Array<any>*/ = new Array(arguments.length - 1);
for(var i/*:number*/ = 0; i < args.length; ++i) args[i] = arguments[i+1];
return doit(tokenize(arguments[0]), args);
}