zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    js console API All In One

    const log = console.log;
    
    for(const key in console) {
      log(`navigator.${key} =`, key, typeof key, console[key]);
    }
    
    // navigator.debug = debug string ƒ debug() { [native code] }
    // navigator.error = error string ƒ error() { [native code] }
    // navigator.info = info string ƒ info() { [native code] }
    // navigator.log = log string ƒ log() { [native code] }
    // navigator.warn = warn string ƒ warn() { [native code] }
    // navigator.dir = dir string ƒ dir() { [native code] }
    // navigator.dirxml = dirxml string ƒ dirxml() { [native code] }
    // navigator.table = table string ƒ table() { [native code] }
    // navigator.trace = trace string ƒ trace() { [native code] }
    // navigator.group = group string ƒ group() { [native code] }
    // navigator.groupCollapsed = groupCollapsed string ƒ groupCollapsed() { [native code] }
    // navigator.groupEnd = groupEnd string ƒ groupEnd() { [native code] }
    // navigator.clear = clear string ƒ clear() { [native code] }
    // navigator.count = count string ƒ count() { [native code] }
    // navigator.countReset = countReset string ƒ countReset() { [native code] }
    // navigator.assert = assert string ƒ assert() { [native code] }
    // navigator.profile = profile string ƒ profile() { [native code] }
    // navigator.profileEnd = profileEnd string ƒ profileEnd() { [native code] }
    // navigator.time = time string ƒ time() { [native code] }
    // navigator.timeLog = timeLog string ƒ timeLog() { [native code] }
    // navigator.timeEnd = timeEnd string ƒ timeEnd() { [native code] }
    // navigator.timeStamp = timeStamp string ƒ timeStamp() { [native code] }
    // navigator.context = context string ƒ context() { [native code] }
    
    
    

    refs

    https://jsconsole.com/



    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


  • 相关阅读:
    阅读INI档
    jQuery遍历table中间tr td并获得td价值
    PB控制性能TreeView
    [POJ 3311]Hie with the Pie——谈论TSP难题DP解决方法
    数据结构 线性表
    ORACLE11G RAC 施加以分离不同的实例.TAF
    一起学习android使用一个回调函数onCreateDialog实现负载对话(23)
    [cocos2d-x 3.0] 触摸显示器
    lua学习笔记10:lua简单的命令行
    Matlab图像处理系列4———傅立叶变换和反变换的图像
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/13968393.html
Copyright © 2011-2022 走看看