Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

isogram javascript

function isIsogram(str){
  return !str.match(/([a-z]).*1/i);
}
Comment

how to do an isogram in javascript

function isIsogram(sWord)
 {
  for (iCharIndex = 0; iCharIndex < sWord.length; iCharIndex++)
    if (sWord.substring(iCharIndex + 1).includes(sWord.charAt(iCharIndex)))
      return false;
  return true;
 }
Comment

PREVIOUS NEXT
Code Example
Javascript :: filereader reactjs 
Javascript :: create audio tag javascript 
Javascript :: sort array without changing the original js 
Javascript :: background colour in react 
Javascript :: merge 2 arrays jquery 
Javascript :: detect if overflow javascript 
Javascript :: get selected value in dropdown 
Javascript :: javascript insertbefore 
Javascript :: redux saga fetch data using axios 
Javascript :: google tuner 
Javascript :: js reduce method 
Javascript :: change url with javascript without reloading 
Javascript :: js check if image url exists 
Javascript :: react context api 
Javascript :: The slice JavaScript string method 
Javascript :: how to start node server 
Javascript :: Javascript object convert into JSON 
Javascript :: axios set request header 
Javascript :: carbon to moment js conversion 
Javascript :: javascript import class 
Javascript :: maximum sum array algorithm javascript 
Javascript :: remove all parameters from url javascript 
Javascript :: math captcha 
Javascript :: .shift javascript 
Javascript :: javascript email validation 
Javascript :: create callback function javascript 
Javascript :: Get the Last Items in an Array 
Javascript :: shift and unshift js 
Javascript :: round 2 decimal places 
Javascript :: mouse position 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =