Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is a js method with parameters?
What is a js method with parameters?
JS call background takes parameters, and the reference method is as follows: \x0d\ background method: \ x0d \ protected stringsharpvoid (stringsrc) \ x0d \ {\ x0d \ strc = "hello!" +strc; \ x0d \ return strcc \ x0d \} \ x0d \ x0d \ The foreground JS is as follows: \ x0d \ functioninit () \ x0d \ {\ x0d \ var v = "China"; \ x0d \ var s =“”; \x0d\ notifications; \x0d\ }