Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulenty committed Sep 28, 2024
1 parent c24a645 commit 1284219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// write code here

function AddSpace(word){
function AddSpace(word) {
return word.replace(/([a-z])([A-Z])/g, '$1 $2');
}

Expand Down

0 comments on commit 1284219

Please sign in to comment.