跳至内容

燕鸥博客

  • 首页
  • 燕鸥监控
  • 30秒学会代码片段
    • 30秒学会 Angular 片段
    • 30秒学会 C# 片段
    • 30秒学会 CSS 片段
    • 30秒学会 Dart 片段
    • 30秒学会 Golang 片段
    • 30秒学会 JavaScript 片段
    • 30秒学会 PHP 片段
    • 30秒学会 Python 片段
    • 30秒学会 React 片段
    • 30秒面试问题
    • 30秒看不完系列
  • CSS技巧
  • 关于我们

标签

algorithm Angular animation array browser C# class collection components CSS Dart date dictionary effect event function generator Golang hooks input interactivity JavaScript lambda layout list math node object PHP promise Python random React recursion regexp state string tips type utility visual 代码片段 入门 进阶 高级
    2022年7月3日

    30秒学会 JavaScript 片段 – How can I check if a number is even or odd using JavaScript?

    Using the modulo operator The modulo operator (%) returns the remainder of a division operation. Giv...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年7月1日

    30秒学会 Python 片段 – Mapped list average

    Calculates the average of a list, after mapping each element to a value using the provided function....

    进一步了解
    • 30秒学会 Python 片段
    2022年7月1日

    30秒学会 Python 片段 – Binomial coefficient

    Calculates the number of ways to choose k items from n items without repetition and without order. U...

    进一步了解
    • 30秒学会 Python 片段
    2022年7月1日

    30秒学会 JavaScript 片段 – Typechecking objects with Proxy in JavaScript

    A while back, I was working on a project where some objects had rigid structure requirements. As I w...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年7月1日

    30秒学会 JavaScript 片段 – Unescape HTML

    Unescapes escaped HTML characters. Use String.prototype.replace() with a regexp that matches the cha...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年6月29日

    30秒学会 JavaScript 片段 – JavaScript Data Structures – Doubly Linked List

    Definition A doubly linked list is a linear data structure that represents a collection of elements,...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年6月29日

    30秒学会 JavaScript 片段 – Minimize DOM access in JavaScript

    DOM operations, including accessing the DOM, are generally slow. This is usually not a problem until...

    进一步了解
    • 30秒学会 JavaScript 片段
    2022年6月28日

    30秒学会 Python 片段 – Date is weekday

    Checks if the given date is a weekday. Use datetime.datetime.weekday() to get the day of the week as...

    进一步了解
    • 30秒学会 Python 片段
    2022年6月28日

    30秒学会 Python 片段 – Clamp number

    Clamps num within the inclusive range specified by the boundary values. If num falls within the rang...

    进一步了解
    • 30秒学会 Python 片段
    2022年6月26日

    30秒学会 React 片段 – React useGetSet hook

    Creates a stateful value, returning a getter and a setter function. Use the useRef() hook to create ...

    进一步了解
    • 30秒学会 React 片段
    第 51 页,共 154 页« 最新«...102030...4950515253...607080...»最旧 »

    燕鸥博客 © 2025. 版权所有。

    自豪地采用 WordPress. 主题设计 Alx.