Hello. Tell me what it is called ?:
var val1 = 'первое значение', val2 = 'второе значение'; str.myFunc(val1, val2); Where functions are called as stated above, and not myFunc(val1, val2) Something resembling the writing of plug-ins for jQuery, I mean it:
$.fn.myFunc = function(val1, val2) { // параметры плагина } But to get called wrong, $(el).myFunc('первый параметр', { '': ... }); and so, 'какое-то значение'.myFunc(val1, val2);