You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// First, checks if it isn't implemented yet.if(!String.prototype.format){String.prototype.format=function(){varargs=arguments;returnthis.replace(/{(\d+)}/g,function(match,number){returntypeofargs[number]!='undefined'
? args[number]
: match;});};}console.log("{0} is dead, but {1} is alive! {0} {2}".format("ASP","ASP.NET"));// ASP is dead, but ASP.NET is alive! ASP {2}
The text was updated successfully, but these errors were encountered:
Jus formatter like
The text was updated successfully, but these errors were encountered: