answersLogoWhite

0

Argument Array in java script

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

There is an arguments object in JavaScript. This object is treated much like an array (but it's not actually an array.)

You can however reference the arguments passed to a function via this array. For instance, if we call a function like so:

exampleFunc('Tom', 15, 'potato');

Then we can access the value of Tom at the local variable arguments[0].

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What are benefits of array in java?

array example in java


What is java fx2.1.1?

Java script


Is Java script needed for Poptropica?

No, Java script is not needed to play poptropica.


Does Java Script use the same compiler as Java?

No


What is the character string usually called?

I think, array of string type object in java.actually java take any command line argument in stringformat. bydefault


Where can I download java script free?

When it comes to java script you can simply download it free from the java website. You can also go to CNET downloads and get it free from there.


Does java script coding mean using it for Java programs only?

Java script coding is computer coding, many things require Java, and you need to have Java enabled to view these types of programs.


Does iPod touches have java script?

they have java< javascript and flash


Which script based on sound?

Java script is based on sound.


Prog to display array element?

Java solutionFortunately, Java has a number of useful functions in the java.util.Arrays class for us.A call to...System.out.println(java.util.Arrays.toString(array));...will print out any array.


How does one initialize a byte array in Java?

One can get information about how to initialize a byte array in java on the website stackoverflow dot com. That website can learn one a lot about java.


How do you pass an array in Java?

The same way you pass any other argument. int[] integerArray = new int[] {5,4,3,2,1}; // Pass our integerArray to the Arrays.sort method Arrays.sort(integerArray);