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 :: javascript set html value div 
Javascript :: chart.js hide bar title 
Javascript :: sequelize pagination postgres 
Javascript :: index export in nodejs 
Javascript :: favicon in next js not working 
Javascript :: js tab in textarea 
Javascript :: flutter decoration image 
Javascript :: install node js lts ubuntu 18.04 
Javascript :: javascript modal close 
Javascript :: jquery insert option into select 
Javascript :: tailwind install nextjs 
Javascript :: react link underline 
Javascript :: javascript string to int 
Javascript :: reactive localstorage in react 
Javascript :: check for substring javascript 
Javascript :: enzyme change input value 
Javascript :: lodash combine permissions 
Javascript :: text to Speech in javascript code 
Javascript :: terminate execution in jquery 
Javascript :: math random 0 to 100 
Javascript :: loop through object and get a certain values 
Javascript :: conditinally object property js 
Javascript :: select second child in js 
Javascript :: laravel 8 include javascript in blade 
Javascript :: javascript add string to middle of string 
Javascript :: discord js user has role 
Javascript :: document ready without jquery 
Javascript :: jquery set max attribute value 
Javascript :: return early pattern for functions javascript 
Javascript :: valid filename regex 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =