Exam4Training

Which JavaScript statement can be used to raise a fault from a JavaScript policy named "Weather"?

Which JavaScript statement can be used to raise a fault from a JavaScript policy named "Weather"?
A . return-1;
B . return false;
C . contextsetVariablefWeather.Fauir, "true*);
D . throw "Bad Data",

Answer: C

Exit mobile version