DEV Community

Discussion on: Day 1 - 10DaysOfJavaScript

Collapse
 
codeperfectplus profile image
Deepak Raj • Edited

The Above Code are from HackerRank. Some of code are autogenerated. Changing in some code mislead.

Check more at HackerRank

Collapse
 
pentacular profile image
pentacular

Sounds like HackerRank is doing a bad job -- why are you posting them here?

Thread Thread
 
codeperfectplus profile image
Deepak Raj

I am learning JavaScript and it's for encourage Other as well.

Thread Thread
 
pentacular profile image
pentacular

Then I'm not sure why you're talking about HackerRank auto-generated code?

Thread Thread
 
codeperfectplus profile image
Deepak Raj • Edited

Some of code are autogenerated, you have to only write logic according to question and complete the challenge. It's like Leet code but has Boilerplate code for beginners.

You can find an Example here 👇👇

hackerrank.com/challenges/js10-try...

Happy Coding 😀

Thread Thread
 
pentacular profile image
pentacular

Yes, but it looks like the quality of the auto-generated code is fairly low.