mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-12 06:01:50 +09:00
a way to run program with arguments
This commit is contained in:
@@ -84,6 +84,11 @@ if (!Array.prototype.filter){
|
||||
return res;
|
||||
};
|
||||
}
|
||||
if (!String.prototype.padStart) {
|
||||
String.prototype.padStart = function(l, c) {
|
||||
return (this.length >= l) ? this : (c.repeat(l - this.length) + this);
|
||||
};
|
||||
}
|
||||
// Production steps of ECMA-262, Edition 5, 15.4.4.19
|
||||
// Reference: http://es5.github.io/#x15.4.4.19
|
||||
if (!Array.prototype.map) {
|
||||
|
||||
Reference in New Issue
Block a user