a-synchronous / a-synchronous/rubico

rubico/x/startsWith

Open Beginner friendly
#167 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
283
Forks
17
PR merge metrics
No merged PRs in 30d

Description

```coffeescript
startsWith(prefix string)(value string) -> boolean
```
Determine whether a string starts with a prefix.

```javascript
console.log(startsWith('h')('hey')) // true
```

Contributor guide

Open the contributing guide

Research direction

Look for the x/ directory in the codebase, which likely contains utility functions. Check existing similar functions (like endsWith) to understand the pattern. Implement startsWith to take a prefix string and return a function that checks if a given string starts with that prefix. Write a test in the test suite to verify the behavior matches the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.