pass variable in function javascript. There are any references about pass variable in function javascript in here. you can look below.