Update jspp.js

This commit is contained in:
Sam Sneed 2024-05-28 19:52:48 +00:00 committed by GitHub
parent 96cbbf0a33
commit 77f9e6d525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,8 +24,8 @@ class JSPlusPlus {
}
}
// Constructor Extras BEGIN
enableJSConstructorExtras() {
// Constructor Helpers BEGIN
enableJSConstructorHelpers() {
Date.prototype.toUSADateString = function() {
let day = this.getDate().toString().padStart(2, '0');
let month = (this.getMonth() + 1).toString().padStart(2, '0');
@ -255,7 +255,7 @@ class JSPlusPlus {
};
console.log("Javascript Extras Enabled!")
}
// Constructor Extras END
// Constructor Helpers END
}
static Debug = class {