JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
JavaScript quiz
If you think you're a great JavaScript developer, please answer the questions.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Which loop is faster in JavaScript?
*
for
while
What will be alerted by the code bellow?
*
var str = 'my-'; alert(str.split('-')[1]);
Error
An empty string
"-"
"my"
What is server-side JavaScript?
*
JS scripts files placed on the server that can be publicly accessed by the client
JS engine running on the server accessible via http
Is it possible to have private and public methods in a JavaScript object
*
Yes
No
Submit
Clear form
Forms
This content is neither created nor endorsed by Google.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report