Skip to content

Instantly share code, notes, and snippets.

View peruibeloko's full-sized avatar
🍔
beesechurger

Carlinhos peruibeloko

🍔
beesechurger
View GitHub Profile
@Nick-Gabe
Nick-Gabe / Pombify.js
Last active November 21, 2024 17:24
Transforma uma string em pombês, e traduz para a língua dos humanos.
const pombify = (phrase) => {
return phrase
.split(' ')
.map((word) => {
const wordLetters = word.split('')
return wordLetters
.map((letter, index) => {
const charCode = letter.charCodeAt(0);
const binary = charCode
.toString(2)