ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    console.log 添加一些特定的输出

    Jun 25, 20233 min read

    console.log("Hello, World!"); // 输出"Hello, World!"
    console.log(42); // 输出数字42
    console.log("My name is", "John"); // 输出"My name is John"
    console.log("The answer is", 6 * 7); // 输出"The answer is 42"
    console.log(true); // 输出"true"
    console.log(["apple", "banana", "orange"]); // 输出数组
    console.log({name: "John", age: 30}); // 输出对象

    相关文章

    Tailwindcss Button Group样式

    该内容展示了一个使用Tailwindcss设计的包含“Prev”和“Next”按钮的按钮组样式。

    Flutter WebView 增加加载进度条

    The Flutter WebView tutorial demonstrates how to implement a loading progress bar using LinearProgressIndicator in a Flutter application.

    Flutter 如何实现最近最少使用 (LRU) 缓存策略的工具类

    使用 `LinkedHashMap` 实现的 `LRUCache` 类可以有效地管理最近最少使用的缓存策略。

    Dayjs 计算时间差

    使用Dayjs库计算两个时间点之间的年、月、日、分钟和秒的时间差。

    Terminals proxy 配置

    本文介绍了如何通过代理配置SSH和Git等终端工具进行网络连接。