Skip to main content
Post Made Community Wiki by animusonStaffMod
edited body
Source Link

Print months in your own language

m = [];
for (i = 11;12; i--;) {
    m[i] = (new Date(0, i, 5)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 11; i--;) {
    m[i] = (new Date(0, i, 5)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 12; i--;) {
    m[i] = (new Date(0, i, 5)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

added 3 characters in body
Source Link
Artjom B.
  • 61.8k
  • 3
  • 22
  • 42

Print months in your own language

m = [];
for (i = 12;11; i--;) {
    m[i] = (new Date(0, i, 5)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 12; i--;) {
    m[i] = (new Date(0, i)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 11; i--;) {
    m[i] = (new Date(0, i, 5)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

edited body
Source Link

Print months in your own language

m = [];
for (i = 11;12; i--;) {
    m[i] = (new Date(0, i)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 11; i--;) {
    m[i] = (new Date(0, i)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Print months in your own language

m = [];
for (i = 12; i--;) {
    m[i] = (new Date(0, i)).toLocaleString(0, {
        month: "long"
    });
}
document.write(m)

Source Link
Loading