Core & Flow
| Standard JS | True Babble | The Vibe |
|---|---|---|
let | babwa | Gentle intro noise. |
const | baba | Firm, unchanging. |
console.log | aou | Screaming into the void. |
function | gugu | Gearing up to do something. |
return | pbbbt | Spitting the result back out. |
if | ooh | Discovering a condition. |
else | nuh | Rejecting the condition. |
while | wawa | Crying continuously in a loop. |
for | weee | Going for a repetitive ride! |
of | inna | Baby sitting inna toy pile. |
break | stahp | Demanding a stop. |
continue | gogo | Keep going, skip this one. |
switch | pickpick | Picking a toy from many. |
case | dis | Pointing at a specific one. |
default | meh | None of those, whatever. |
throw | nono! | Angry rejection, hurled out. |
finally | aaah | The settled sigh at the end. |
Math, Logic & Types
| JS | Babble | Vibe |
|---|---|---|
=== | zizi | Buzzy equal sound. |
!== | naza | Buzzy not-equal sound. |
&& | n_n | Grunting two things together. |
|| | o_o | Confused baby noise. |
+ | pa | Patting together. |
- | ma | Taking away. |
* | mapa | Mashing together. |
/ | pachi | Splitting in half. |
% | pupu | The leftover bit. |
<, > | tiny, bigi | Smaller / bigger baby. |
<=, >= | tinyzi, bigizi | Smaller-or-same, bigger-or-same. |
! | nah | Flat refusal. |
true / false | yaya / nono | YES / NO. |
null / undefined | empi / whu | Empty crib / confused shrug. |
typeof | whadis | "What dis?" |
Internet & Async
| JS | Babble | Vibe |
|---|---|---|
async | asisi | Fast in the background. |
await | awaa | Patiently waiting. |
Promise | pwaa | A soft pinky-promise. |
Math.random() | boing() | A random little bounce. |
new Date() | nownow() | Right-now baby time. |
eval() | juju(string) | Evaluate native JS strings. |
fetch | fufu | Reaching out for something. |
res.json() | .fafa | Slurping JSON from the response. |
res.text() | .talky | Plain-text body. |
res.blob() | .blobby | Binary blob. |
res.arrayBuffer() | .bufby | Raw buffer. |
res.ok | .okok | Was it a good status? |
res.status | .howisit | Numeric status code. |
res.headers | .papers | Response headers bag. |
alert | weewoo | Siren noise. |
prompt | hmmm | Thinking-question noise. |
confirm | yanya | Ya-or-nya? (returns boolean) |
try / catch | hmm / waaah | Touching something new / crying. |
Timers
| JS | Babble | Vibe |
|---|---|---|
setTimeout(fn, ms) | tiktik(fn, ms) | Tik-tik then go. |
setInterval(fn, ms) | tuktuk(fn, ms) | Tuk-tuk tuk-tuk forever. |
clearTimeout / clearInterval | shoo(id) | Shoo, go away. |
Array Methods
Call babble method names directly - arr.blop(x) dispatches to arr.push(x).
| JS method | Babble |
|---|---|
.push / .pop | blop / wop |
.shift / .unshift | zoop / boop |
.map / .filter / .reduce | mimimi / keppy / mooshi |
.forEach / .find | tappa / widat |
.includes / .indexOf | innit / spotto |
.slice / .splice / .concat | bitti / snipsnip / gloop |
.join / .sort / .reverse | gloo / neaneat / floppy |
.length | nomnom |
String / Object / Math / Promise method tables continue in the repo Readme - same mapping works inside the interpreter and compiler.