Przejdź do treści

call - Kurs HTML i CSS

  • JS
    Operacje na datach - Date.prototype / Ustawianie daty i czasu - setTime

    ...86400000); // 946767600000 x; // new Date(2000, 0, 2) Date.prototype.setTime.call(null, 0); // TypeError Date.prototype.setTime.call(undefined, 0); // TypeError Date.prototype.setTime.call(0, 0); // TypeError Date.prototype.setTime.call("", 0); // TypeError Date.prototype.setTime.call("2000", 0); // TypeError Date.prototype.setTime.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie milisekund - setMilliseconds

    ...17655020940500 x; // new Date("1410-07-15T13:30:59.500+02:00") Date.prototype.setMilliseconds.call(null, 0); // TypeError Date.prototype.setMilliseconds.call(undefined, 0); // TypeError Date.prototype.setMilliseconds.call(0, 0); // TypeError Date.prototype.setMilliseconds.call("", 0); // TypeError Date.prototype.setMilliseconds.call("2000", 0); // TypeError Date.prototype.setMilliseconds.call({}, 0)...

  • JS
    Operacje na datach - Date.prototype / Ustawianie milisekund w UTC - setUTCMilliseconds

    ...x; // new Date("1410-07-15T13:30:59.500+02:00") Date.prototype.setUTCMilliseconds.call(null, 0); // TypeError Date.prototype.setUTCMilliseconds.call(undefined, 0); // TypeError Date.prototype.setUTCMilliseconds.call(0, 0); // TypeError Date.prototype.setUTCMilliseconds.call("", 0); // TypeError Date.prototype.setUTCMilliseconds.call("2000", 0); // TypeError Date.prototype.setUTCMilliseconds.call({}, 0)...

  • JS
    Operacje na datach - Date.prototype / Ustawianie sekund - setSeconds

    ...17655020969500 x; // new Date("1410-07-15T13:30:30.500+02:00") Date.prototype.setSeconds.call(null, 0); // TypeError Date.prototype.setSeconds.call(undefined, 0); // TypeError Date.prototype.setSeconds.call(0, 0); // TypeError Date.prototype.setSeconds.call("", 0); // TypeError Date.prototype.setSeconds.call("2000", 0); // TypeError Date.prototype.setSeconds.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie sekund w UTC - setUTCSeconds

    ...17655020969500 x; // new Date("1410-07-15T13:30:30.500+02:00") Date.prototype.setUTCSeconds.call(null, 0); // TypeError Date.prototype.setUTCSeconds.call(undefined, 0); // TypeError Date.prototype.setUTCSeconds.call(0, 0); // TypeError Date.prototype.setUTCSeconds.call("", 0); // TypeError Date.prototype.setUTCSeconds.call("2000", 0); // TypeError Date.prototype.setUTCSeconds.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie minut - setMinutes

    ...17655020999500 x; // new Date("1410-07-15T13:30:00.500+02:00") Date.prototype.setMinutes.call(null, 0); // TypeError Date.prototype.setMinutes.call(undefined, 0); // TypeError Date.prototype.setMinutes.call(0, 0); // TypeError Date.prototype.setMinutes.call("", 0); // TypeError Date.prototype.setMinutes.call("2000", 0); // TypeError Date.prototype.setMinutes.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie minut w UTC - setUTCMinutes

    ...17655020999500 x; // new Date("1410-07-15T13:30:00.500+02:00") Date.prototype.setUTCMinutes.call(null, 0); // TypeError Date.prototype.setUTCMinutes.call(undefined, 0); // TypeError Date.prototype.setUTCMinutes.call(0, 0); // TypeError Date.prototype.setUTCMinutes.call("", 0); // TypeError Date.prototype.setUTCMinutes.call("2000", 0); // TypeError Date.prototype.setUTCMinutes.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie godzin - setHours

    ...17654989499500 x; // new Date("1410-07-15T22:15:00.500+02:00") Date.prototype.setHours.call(null, 0); // TypeError Date.prototype.setHours.call(undefined, 0); // TypeError Date.prototype.setHours.call(0, 0); // TypeError Date.prototype.setHours.call("", 0); // TypeError Date.prototype.setHours.call("2000", 0); // TypeError Date.prototype.setHours.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie godzin w UTC - setUTCHours

    ...17654982299500 x; // new Date("1410-07-16T00:15:00.500+02:00") Date.prototype.setUTCHours.call(null, 0); // TypeError Date.prototype.setUTCHours.call(undefined, 0); // TypeError Date.prototype.setUTCHours.call(0, 0); // TypeError Date.prototype.setUTCHours.call("", 0); // TypeError Date.prototype.setUTCHours.call("2000", 0); // TypeError Date.prototype.setUTCHours.call({}, 0); // TypeError

  • JS
    Operacje na datach - Date.prototype / Ustawianie dnia miesiąca - setDate

    ...17653860000000 x; // new Date("1410-07-29T00:00:00.000+02:00") Date.prototype.setDate.call(null, 0); // TypeError Date.prototype.setDate.call(undefined, 0); // TypeError Date.prototype.setDate.call(0, 0); // TypeError Date.prototype.setDate.call("", 0); // TypeError Date.prototype.setDate.call("2000", 0); // TypeError Date.prototype.setDate.call({}, 0); // TypeError

« 1 2 3 4 5 6 »

★★★★★ 5/5 (289)

Facebook