python to javascript converter online
class Solution:
def solve(self, s):
x = ""
for i in s:
if i >= 'a' and i <= 'z':
x += i
i, j = 0, len(x) - 1
while i <= j:
if x[i] != x[j]:
return False
i += 1
j -= 1
return True