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

New Post: Parameter number conflict.

0
0
Hi furesoft,

JavaScript doesn't support property overloading. Your host code sets script property "$" to a delegate that takes one argument, then overwrites it with a delegate that takes two arguments. Then your script code invokes the property and passes a single argument, and that fails because two are required.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images