Write For Us

What will the final count log show in Javascript? And why? Go!

E-Commerce Solutions SEO Solutions Marketing Solutions
13 Views
Published
A quick JavaScript brain teaser. We start with an array created using new Array(3). Then we run a small piece of code that looks completely reasonable. At the end, we log a value, which may not be what you expected. What number appears, and why? Watch the video and share your answer in the comments.

Subscribe to Google for Developers → https://goo.gle/developers

Speaker: Sayali Godbole
Category
Project
Tags
Google, developers, pr_pr: Google for Developers;
Sign in or sign up to post comments.
Be the first to comment