Skip to content

Add character escape optimization#2

Open
Xvezda wants to merge 2 commits into
masterfrom
feature/optimize-character-escape
Open

Add character escape optimization#2
Xvezda wants to merge 2 commits into
masterfrom
feature/optimize-character-escape

Conversation

@Xvezda

@Xvezda Xvezda commented May 12, 2025

Copy link
Copy Markdown
Owner

e.g. We can save 1byte by replacing escaped character

console.log('\n')
console.log(`
`)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_escape

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.

1 participant