Update jspp.js
This commit is contained in:
parent
96cbbf0a33
commit
77f9e6d525
1 changed files with 3 additions and 3 deletions
6
jspp.js
6
jspp.js
|
@ -24,8 +24,8 @@ class JSPlusPlus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Constructor Extras BEGIN
|
// Constructor Helpers BEGIN
|
||||||
enableJSConstructorExtras() {
|
enableJSConstructorHelpers() {
|
||||||
Date.prototype.toUSADateString = function() {
|
Date.prototype.toUSADateString = function() {
|
||||||
let day = this.getDate().toString().padStart(2, '0');
|
let day = this.getDate().toString().padStart(2, '0');
|
||||||
let month = (this.getMonth() + 1).toString().padStart(2, '0');
|
let month = (this.getMonth() + 1).toString().padStart(2, '0');
|
||||||
|
@ -255,7 +255,7 @@ class JSPlusPlus {
|
||||||
};
|
};
|
||||||
console.log("Javascript Extras Enabled!")
|
console.log("Javascript Extras Enabled!")
|
||||||
}
|
}
|
||||||
// Constructor Extras END
|
// Constructor Helpers END
|
||||||
}
|
}
|
||||||
|
|
||||||
static Debug = class {
|
static Debug = class {
|
||||||
|
|
Loading…
Reference in a new issue