128
rated 0 times
[
135]
[
7]
/ answers: 1 / hits: 85814
/ 11 Years ago, thu, february 28, 2013, 12:00:00
I have 2 separate javascript files
#1.js
String.prototype.format = ....
String.prototype.capitalize = ....
#2.js
//................
var text = some text{0}.format(var1)
//................
How do I make string#format
and string#capitalize
available in the second file?
More From » javascript