Skip to content

Bug: muteVowels crashes on empty string input #3

@codedev168

Description

@codedev168

When calling muteVowels(""), the function throws a TypeError instead of returning an empty string.

Steps to reproduce:

  1. const result = muteVowels("")
  2. TypeError is thrown

Expected: Should return "" for empty input.
Severity: High — breaks basic usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions