Ready Monetized Wordpress Website

EARN MONEY FREELANCING

Saturday, June 15, 2019

Why doesn't my code work (JavaScript)?

How can I change my code so it works for this simple problem?

Instructions:

Write a function called push which accepts two parameters, an array and any value.

The function should add the value to the end of the array and then return the new length of the array.

Do not use the built in Array.push() function!

My code:

https://codepen.io/DragonG/pen/GboVoJ

Thanks!

submitted by /u/LovelyLionLily
[link] [comments]

from web_design http://bit.ly/2Zynlfz
via IFTTT

No comments:
Write Your Comments

Ready Monetized Blogger Gaming Website