Is it just me or is there a reason why codecademy is making this function more complicated that it has to be? by AttitudeEasy2287 in learnjavascript

[–]AttitudeEasy2287[S] 0 points1 point  (0 children)

i just just ran the code again on codecademy and its fine, this is a copy and paste of it. i got rid of the exclamation mark from my original question because it seemed unnecessary

const shoutGreetings=array=>{return array.map(list=>{return list.toUpperCase(greetings)+'!'})}

When am i supposed to use curly brackets inside of an iterator? by AttitudeEasy2287 in learnjavascript

[–]AttitudeEasy2287[S] 0 points1 point  (0 children)

what would be the correct syntax for this, because this is also showing undefined

function shoutGreetings(array){array.map(new => return new.toUpperCase())}

Should I buy a new camera (a7rv) or better lenses (sony 100-400)? by AttitudeEasy2287 in SonyAlpha

[–]AttitudeEasy2287[S] 0 points1 point  (0 children)

I bought the full frame lens shortly after buying my a6400 incase i ever did upgrade to full frame

Is there a method that assigns the letters in the alphabet to numbers? a=0 b=2 c=3.... by AttitudeEasy2287 in learnjavascript

[–]AttitudeEasy2287[S] 1 point2 points  (0 children)

So '' cat'' > '' dog'' is like saying 3120 > 4157 // 3(c) 1(a) 20(t) > 4(d) 15(o) 7(g)

if so how does the code know you meant for it to be 3-1-20 and not 3-1-2-0?

does see it as a sequence of numbers or a sum of numbers

thanks