NKNikhil Kumarintechxterized.hashnode.dev·Mar 25, 2023 · 12 min readHigher Order Array MethodsIntroduction We have always been using the traditional for-loop for all array-based operations and it has not been worth writing lines of code even just for small operations. It is quite tiresome sometimes. Well, if you are here that means you have t...00
NKNikhil Kumarintechxterized.hashnode.dev·Mar 24, 2023 · 4 min readTernary Operator: Solutions ShortcutTraditional Approach When it comes to problem-solving, we have always been using conditional statements since we started programming. The most well-known are: if: Used to execute a block of code if a specific condition is met else: When the same co...00