User
Write something
Beginner Coaching Call is happening in 3 days
Can someone explain to me how I can access my second array?
I completed the algo successfully, but I'm not quite sure how it all works lol Codewars: https://www.codewars.com/kata/5a3dd29055519e23ec000074/solutions/javascript My Code:https://codepen.io/Ricecakes_95/pen/BaXeeMx?editors=0012 Primarily, I'm confused as to why my filter method has access to array2.. Because I'm calling the filter method on array1 so obviously the values and indices should be available for array1, but why can I access array2?? Is this some type of implied access? Like I understand, since array2 exists, and it has data from the argument, that I'll have some access to array2 within the functional or block scope, but I thought I wouldn't have scope to access array2 within the filter method.. What am I missing? Thanks in advance smart people 😄
2
4
New comment 5h ago
This algo gives me a fatal crash when testing it
Here's the algo: https://www.codewars.com/kata/55f2b110f61eb01779000053/train/javascript Here's my answer (it works!): https://codepen.io/Ricecakes_95/pen/mdNYQXz I'm sure its too complicated but I couldn't think of an easier solution, other than breaking it down into steps. Let me know if you figure out why I'm getting a fatal error on codewars. Thanks!
5
10
New comment 2d ago
Data Structures and Algorithms
How much data structures and algorithms knowledge is necessary in the interviews and in the jobs? What do you guys think about that?
6
4
New comment 3d ago
What are your weird "quirks" you do when programming?
By that I mean just stuff you do and you don't really have an explanation for it. One of mine is when I create a new component I will always declare it as an arrow function. However when it comes to utility functions or other things I'm not using as a component it gets declared as a regular function instead. I don't know what would be considered "best practice" or if there is a right or wrong. But to me it reads easier.
7
16
New comment 3d ago
Link to book your interview preparation
https://calendly.com/cristianfloreadev/student-interview-prep Requirements: Book only if you prepared for it (don't just try it out) You are working on the crypto app or team project
10
11
New comment 6d ago
1-30 of 402
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
powered by