Svelte · Senior · Question 34 of 75

Why should remote function arguments be validated?

Explanation

Types disappear at runtime; validation protects the server from malformed or malicious input.

Further reading

Problem with a question

Svelte · Senior · question 34

Test yourself

Take the Svelte · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz