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?

Change all values ​​of the array to a single value

To do this, you need the fill: method.

var app = new Data(["D","B","A","C"],{
    fill: "data.js"
});

PreviousReturn array values ​​in English alphabetical orderNextDelete the values ​​of the array

Last updated 4 years ago

Was this helpful?