Skip to content

feat: add String.prototype chaining support for camelCase and capital… - #149

Closed
Raghavjha60570 wants to merge 1 commit into
Samarth2190:mainfrom
Raghavjha60570:feature/string-prototype-support
Closed

feat: add String.prototype chaining support for camelCase and capital…#149
Raghavjha60570 wants to merge 1 commit into
Samarth2190:mainfrom
Raghavjha60570:feature/string-prototype-support

Conversation

@Raghavjha60570

Copy link
Copy Markdown

Summary

This PR adds support for extending String.prototype to enable chaining of string transformation functions, making the syntax cleaner and more intuitive.

Example

// Before
capitalizeWords(camelCase("hello world"))

// After
"hello world".camelCase().capitalizeWords()

@Samarth2190

Copy link
Copy Markdown
Owner

Similar PR exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants