CODE ARCHIVE

Years of coding.

Articoli tecnici, tutorial di programmazione, frammenti di codice e file sorgente condivisi nel corso degli anni.

KNOWLEDGE & EXPERIENCE

Knowledge worth sharing.

Una raccolta di soluzioni di programmazione, sperimentazioni e conoscenze tecniche condivise durante il mio percorso di sviluppatore.

34Articoli
23Categorie
283Tag

ARTICLES

Articoli pubblicati

Rimuovi filtro

Filtrato per javascript · 4

  1. How to stringify an object in Javascript: converting an object to a padded & well-formatted string or simply inline

    I wrote a function to convert an object in a string (stringification) without using a JSON library; you can convert an object to a well formatted string with padding or simply to an unique line: function stringify(object, padding…

    Leggi l'articolo originale
  2. Javascript isArray() function

    Javascript does not provide a function to recognize if a variable is an array or not; you can make a "typeof" of the variable however u'll get an 'object' datatype, as in the following code var myarray = [1, 2, 3]; var myobject =…

    Leggi l'articolo originale