LogoLogo
  • Getting started
  • Usage
  • Importing Data.js
  • First method in Data.js
  • Returns any value in the array
  • Determine the number of values ​​in an array
  • Add any character or letter between values ​​in the array
  • Copy any value in the array
  • Check that it is array
  • Return array values ​​in reverse order
  • Return array values ​​in English alphabetical order
  • Change all values ​​of the array to a single value
  • Delete the values ​​of the array
Powered by GitBook
On this page

Was this helpful?

Return array values ​​in English alphabetical order

To do this, you need the sort: method.

var app = new Data(["D","B","A","C"],{
    sort: true
});
PreviousReturn array values ​​in reverse orderNextChange all values ​​of the array to a single value

Last updated 4 years ago

Was this helpful?