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

New Post: Can not use prototype declarations with V8 Engine

0
0
Hello yahavgb!

We tested your code and got the same results with both script engines: Car is undefined and no output is generated. That makes sense because the code sets Car (the outer one) to the return value of a function that lacks a return statement.

What results are you seeing?

Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles



Latest Images