a-synchronous / a-synchronous/rubico
rubico/x/endsWith
未關閉
適合新手
enhancement
- 主要語言
- JavaScript
- 星號
- 283
- 分支
- 17
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```coffeescript
endsWith(suffix string)(value string) -> boolean
```
Determine whether a string ends with a suffix.
```javascript
console.log(endsWith('y')('hey')) // true
```
貢獻指南
研究方向
The issue is to implement an `endsWith` function in the rubico library. Look at the x/ directory for existing utility functions, likely in a file like `x/endsWith.js`. The function should take a suffix string and return a function that takes a value string, returning a boolean. Check the library's testing setup to write a test for the new function, ensuring it matches the example: endsWith('y')('hey') returns true.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- backend-api-design
- Issue 類型
- 功能
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 75/100