Create typeOf.js

used to analyze the type of arguments[0]

result as below:
/*
     * typeOf({},['object','string']) == true;
     *
     * typeOf({},'object) == true;
     *
     * typeOf({}) == 'Object'
     *
     * typeOf(null, 'Object') == false;
     *
     * typeOf(function(){},'function') == true;
     *
     * typeOf(undefined, 'undefined') == true;
     *
     * typeOf(null,'null') == true;
     *
     * typeOf() == 'undefined';
     *
     * typeOf(NaN) == 'NaN';
     */