Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Create a function that accepts a string and returns a new string with vowels removed.

Medium

Problem Statement

Create a function that accepts a string and returns a new string with vowels removed.

Sample Input

"javascript"

Sample Output

jvscrpt

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
// Remove vowels from a string function removeVowels(str) { } console.log(removeVowels("javascript"));
Log in or sign up to run or submit your code.Log inSign up
Input
"javascript"
Expected Output
jvscrpt