// primitive
        String typeof "a" => string
        Number      typeof 1 => number
        Boolean     typeof true => boolean
        undefined   typeof "a" => undefined
        null        typeof "a" => object


   // reference type
        Object      typeof {} => object
        Array       typeof {} => object
        Function    typeof function(){} => function



+ Recent posts

티스토리 툴바