Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Sep 21st, 2018
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
function vowels(str) {
let vowelCount = 0;
[...str].forEach((char, i) => {
if (/[AEIOUaeiou]/.test(char) === true) {
vowelCount += 1;
}
});
return vowelCount;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
craftify
Lua | 17 min ago | 3.24 KB
mobfarm-materials
GetText | 21 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 28 min ago | 0.39 KB
Untitled
ASM (NASM) | 29 min ago | 1.23 KB
14
Python | 34 min ago | 0.22 KB
Untitled
C++ | 35 min ago | 4.27 KB
mc_1&4_codes
Python | 39 min ago | 1.84 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!