cookie相关操作
getCookie(key: string)
setCookie(
key: string,
data: string,
time?: any,
path?: any
)
emoveCookie(key: string, forceCookie = false)
date
dateFormat(date, forma)
dateCount(time:number)
检查script基本数据类型
isNumber(value)
isString(value)
isArray(value)
isBoolean(value)
isRegExp(value)
isDateObject(value)
isUndefined(value)
isNull(value)
isExist(value)
isSymbol(value)
isSVGElement(value)
isObject(value)
isEmptyObject(obj)
isEmptyArray(array)
isFunction(value)
isElement(value)
isWindow(value)
isPlainObject(obj)
转换工具
toArray(array)
toString(content)
其他
extend(...arg)
asynGenerator(...args)
filter
map
getUniqueID()
nextTick(cb)
jumpTo(url)
encodeBase64(str)
decodeBase64(str)
removeUndefinedyObjMember(state)