iconiccode.hashnode.devHow do we locate the Last Word in a Statement dynamically?A few days ago my mentor sent me this funny & interesting youtube shorts and tasked me to find the pattern in the content & code it. I tried to solve this in a simple & efficient way. Here's my code snippet for the same. function patternIdentify(phra...Aug 8, 2024·1 min read
iconiccode.hashnode.devFrom Concept to Code: Solving pattern problems using JavaScriptA pattern is a recurring sequence or repetition. Practicing pattern is highly recommended to master the looping, nested looping in JavaScript. Mastering patterns is the most common used approach while learning the basics of JavaScript. At least, a go...Aug 4, 2024·5 min read
iconiccode.hashnode.devWays of Swapping Variables in JavascriptIn technical interviews, you might be asked questions like,”how can you swap two variables without using temporary variable” or “how many swapping techniques are there in JavaScript“. Knowing multiple ways to swap variables is beneficial. In this art...Jul 17, 2024·7 min read