Comment on Write a program that makes 2 + 2 = 5parentComments−notduncansmith12yTo make many more examples of why Javascript is not a language for beginners.−mraison12y var tens = ['10','10','10','10','10','10','10','10'].map(parseInt); var ten = tens[tens.length-1]; var two = ten % 4; console.log(two + 2);
Comments
To make many more examples of why Javascript is not a language for beginners.