跳至内容

燕鸥博客

  • 首页
  • 燕鸥监控
  • 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 代码片段 入门 进阶 高级
    2023年3月21日

    30秒学会 JavaScript 片段 – Using random values with pure functions

    Working with random values can create code that’s hard to test. Usually, the remedy to such is...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月19日

    30秒学会 JavaScript 片段 – Generate items

    Generates an array with the given amount of items, using the given function. Use Array.from() to cre...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月18日

    30秒学会 JavaScript 片段 – Redirect to URL

    Redirects to a specified URL. Use Window.location.href or Window.location.replace() to redirect to u...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月18日

    30秒学会 JavaScript 片段 – Prime factors of number

    Finds the prime factors of a given number using the trial division algorithm. Use a while loop to it...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月17日

    30秒学会 JavaScript 片段 – Assign default values for object properties

    Assigns default values for all properties in an object that are undefined. Use Object.assign() to cr...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月17日

    30秒学会 Python 片段 – Dictionary to list

    Converts a dictionary to a list of tuples. Use dict.items() and list() to get a list of tuples from ...

    进一步了解
    • 30秒学会 Python 片段
    2023年3月17日

    30秒学会 JavaScript 片段 – Transform object

    Applies a function against an accumulator and each key in the object (from left to right). Use Objec...

    进一步了解
    • 30秒学会 JavaScript 片段
    2023年3月15日

    30秒学会 Python 片段 – Sum list based on function

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

    进一步了解
    • 30秒学会 Python 片段
    2023年3月15日

    30秒学会 Python 片段 – Filter unique list values

    Creates a list with the unique values filtered out. Use collections.Counter to get the count of each...

    进一步了解
    • 30秒学会 Python 片段
    2023年3月13日

    30秒学会 Python 片段 – Pluck values from list of dictionaries

    Converts a list of dictionaries into a list of values corresponding to the specified key. Use a list...

    进一步了解
    • 30秒学会 Python 片段
    第 27 页,共 154 页« 最新«...1020...2526272829...405060...»最旧 »

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

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