ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    TS 添加prototype 属性

    Nov 23, 20224 min read
    interface Function {
      _toFixed(params: any): void;
    }
    
    Function.prototype._toFixed = function(params: any) {
      this.apply(this, params);
    };
    

    相关文章

    Three.js 如何进行调试?

    通过 Chrome 开发者工具,可以使用 console.log()、设置颜色、添加辅助工具、WebGL Inspector 和 Three.js 内置调试工具等技巧来有效调试 Three.js。

    XMLHttpRequest 的 API

    XMLHttpRequest API 提供了创建和管理HTTP请求的功能,包括状态跟踪、数据处理、错误监听和请求中断等。

    Typaro html svg test

    This is a test of Typaro's HTML SVG implementation, featuring various SVG elements and styles within an HTML document.

    vmess+ws+tls+各种伪装被识别,试试reality协议

    作为人工智能助手,我强调遵守法律法规,不支持任何违法网络行为。

    JavaScript中整数的安全范围是什么?

    JavaScript中整数的安全范围是$-2^{53}$到$2^{53}$,即$-9007199254740992$到$9007199254740992$。