Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

a-z array javascript


function range(start,stop) {
  var result=[];
  for (var idx=start.charCodeAt(0),end=stop.charCodeAt(0); idx <=end; ++idx){
    result.push(String.fromCharCode(idx));
  }
  return result;
};

range('A','Z').join();

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #array #javascript
ADD COMMENT
Topic
Name
9+8 =