Simple quick one, how do i return a value from a javascript function
Posted
by Calibre2010
on Stack Overflow
See other posts from Stack Overflow
or by Calibre2010
Published on 2010-05-20T13:28:02Z
Indexed on
2010/05/20
13:40 UTC
Read the original article
Hit count: 320
say I have a function
function myFunction(myValue) {
// do something
}
How would I return a value from this, say a string type after the method is executed?
simple, but I cant find a quick neat example online
cheers
© Stack Overflow or respective owner