Skip to content

Commit

Permalink
Update 2023-1-13-retos-programacion.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
TripleYei authored Oct 4, 2023
1 parent 8385216 commit c1903dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _posts/2023-1-13-retos-programacion.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -613,3 +613,11 @@ function countVowels(str) {
}
~~~~

Get initials

~~~~
function getInitials(name) {
return name.match(/\b\w/g).join(".").toUpperCase()
}
~~~~

0 comments on commit c1903dd

Please sign in to comment.