30-Days-of-JavaScript-Solutions
30-Days-of-JavaScript-Solutions copied to clipboard
30 Days of JavaScript solutions by me. challenge provided by Asabeneh.
//2.16 genaretRendomMac = () =>{ let macAsset = [0,1,2,3,4,5,6,7,8,9,'a','b','c','d','e','f'] let one1 = macAsset[Math.floor(Math.random()*macAsset.length)] let one2 = macAsset[Math.floor(Math.random()*macAsset.length)] let two1 = macAsset[Math.floor(Math.random()*macAsset.length)] let two2 = macAsset[Math.floor(Math.random()*macAsset.length)] let three1 = macAsset[Math.floor(Math.random()*macAsset.length)] let...
I'm struggling with this exercise and your solution doesn't seem to be working
Ex - 1 Q18 Answer should be: console.log(itCompanies.slice(itCompanies.length - 3)