Answers for "char is alphabetic js"

4

how to make an alphabet in javascript

// To get an array of letters from 'a' to 'z' in javascript.

let alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
Posted by: Guest on October-25-2020
0

check for alphabetic string in javascript

function isAlphaOrParen(str) {
  return /^[a-zA-Z()]+$/.test(str);
}
Posted by: Guest on May-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language