How to use sprintf-js

Comprehensive sprintf-js code examples:

How to use sprintf-js.call:

103
104
105
106
107
108
109
110
111
112
    url: Url,
    L: function () {
        var lang = arguments[0]
        if (MS.trans && (lang in MS.trans)) {
            arguments[0] = MS.trans[lang]
            return sprintf.call(null, ...arguments)
        }
        return sprintf.call(null, ...arguments)
    }
}