Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Parameter number conflict.

$
0
0
  1. Your first call to AddHostObject() creates a property named "$" whose value is a delegate with one parameter.
  2. Your second call to AddHostObject() overwrites the property created in step 1. The new value is a delegate with two parameters.
  3. The first line of your script invokes the delegate assigned in step 2, but passes only one argument.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>