answersLogoWhite

0

This function will accept two parameters and return the difference between the first and second parameter.

function diffBetween ( a, b ) {

return a-b;

} //end diffBetween

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran

Add your answer:

Earn +20 pts
Q: Javascript function for the difference between 2 numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp