top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In Javascript, How to create our own custom function?

0 votes
209 views

Like i want to create function called removeValue() for array.

Example:

var a = [1,2,3];

I want to create a function call like a.removeValue(2);

posted Feb 13, 2018 by Manish Tiwari
Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Similar Questions
0 votes

Give some sample code for creating session in php.Also,provide some sample link for learning about session in php.

+1 vote

Hi all,

Any way to find a Javascript function's definition. I'm working on a site that includes many external JS files.Some times i need to find the particular function in browser.

...