From 8949343c7c5e73b504764fdd2fe46ae07c01ef0d Mon Sep 17 00:00:00 2001 From: Falk Schieber <12937991+pixelbucket-dev@users.noreply.github.com> Date: Wed, 26 Oct 2022 23:07:53 +0200 Subject: [PATCH] Remove commented code --- src/lib/isAlpha.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/isAlpha.js b/src/lib/isAlpha.js index 858ec938f..3ef4edb93 100644 --- a/src/lib/isAlpha.js +++ b/src/lib/isAlpha.js @@ -19,9 +19,7 @@ function removeIgnoredCharacters(str, ignoredCharacters) { export default function isAlpha(_str, ...args) { assertString(_str); - - // const { ignore, locale = 'en-US' } = options; - + // For backwards compatibility: // isAlpha(str [, locale, options]) // i.e. `options` could be used as argument for the legacy `locale`