SQLI interview question

Some basic questions about javascript