Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to call function with only selected arguments in javascript

var sData = 'Wisen';

function display() {
  console.log('sData value is %s ', this.sData);
}

display.call('ggf');  // sData value is Wisen
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #call #function #selected #arguments #javascript
ADD COMMENT
Topic
Name
9+3 =