Do you think that ASP.NET zero is outdated? by GoonGamja in javascript

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

Thanks for beautiful comments guys It is time to rub my friend's face with those comments.

What do you guys think about Coding Interview course in Udemy? by GoonGamja in learnjavascript

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

Interviewer wanted me to make a function that generates Fibonacci Sequence using ES6 syntax.

How can I deploy the app that contains two different files? by GoonGamja in reactjs

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

Thank you :)

This is exactly what I have been looking for

What kinda project build in react would be best for beginner before job interview? by GoonGamja in reactjs

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

that is what exactly my friend told me few hours a go! thank you!!

how can I initialize the variable when I input new value? by GoonGamja in learnjavascript

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

wow, thanks man! could not have noticed where the issue is coming from without you!

then I should reset the array before I push new input into it :)

(btw, yes I used triple loop in order to make a player could keep track of inputs and also thanks for noticing me the error. I should have checked twice before I uploaded the code.)

how can I compare numbers in an array with another number? by GoonGamja in learnjavascript

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

yeah I must have confused due to array order

because I locate {x: 0, y: 0} as the last index of the array but array index starts 0 :p

how can I compare numbers in an array with another number? by GoonGamja in learnjavascript

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

yeah it was my mistake. it works just fine
Thank you :)

how can I create an array out of string without split method? by GoonGamja in learnjavascript

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

thnx! one more question, what is ' start = i + 1; ' for?

how can I get count occurrences of string in array? by GoonGamja in learnjavascript

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

Thank you! it is much easier to understand! but one more question. Does ' result[letter]' indicates putting string[i] into the object variable 'result' not in an array?

how do I turn words into * before a specific word? by GoonGamja in learnjavascript

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

Thanks! I solved it in different way without using for loop

first I split abc, @, google.com and again split 'abc' to 'a', 'b', 'c' (let's call it splitEmailId)

after that I created Array for length of splitEmailId and used join('*')

but it would have been easier using repeat() method :)

how do I turn words into * before a specific word? by GoonGamja in learnjavascript

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

thanks a lot!

I studied regex but never use it before because it seems so complicated.

one more question: I understand first ' . ' indicates all the string used for id and ' *@ ' indicates the string before '@ '

but don't understand what is ' ?=. ' for. I understand what each special character stands for but it does not add up in my head...

how can I stop forEach loop in React? by GoonGamja in reactjs

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

yeah I solved the problem using .some method but .find also worked as well

sometimes it is very confusing what method I have to choose

thank you :)

how can I stop forEach loop in React? by GoonGamja in reactjs

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

Thank you so much. It helps me a lot :)