---
title: "Yash Patel (@patelyash) | Hashnode"
description: "frontend developer. Read the latest articles by Yash Patel on Hashnode."
url: "https://hashnode.com/@patelyash"
---

@patelyash

# Yash Patel

@patelyash · Joined May 2022

frontend developer

### [Different iteration statements in javascript](https://patelyash.hashnode.dev/different-iteration-statements-in-javascript?utm_source=hashnode&utm_medium=feed)

1) for loop for loop will repeat until a specified condition met. for(\[initialExpression\],\[conditionExpression\],\[incrementExpression\]) example const arr = \[10,20,25,55,60,80,95\]; let count = 0; for(let i=0; i < arr.length; i++){ if(arr\[i\] % 10 =...

2 min read · [patelyash.hashnode.dev](https://patelyash.hashnode.dev/different-iteration-statements-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 20, 2022](https://hashnode.com/posts/different-iteration-statements-in-javascript/6287a36689168247f55ef568)

### [Frequently used array methods in JavaScript](https://patelyash.hashnode.dev/frequently-used-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

1) concat concat method will merge arrays and return a new array. example const arr1 = \[1,2,3\] const arr2 = \[a,b,c\] const ans = arr1.concat(arr2) console.log(ans) // \[1,2,3,a,b,c\] concat will return a shallow copy of an existing array concat can tak...

2 min read · [patelyash.hashnode.dev](https://patelyash.hashnode.dev/frequently-used-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 20, 2022](https://hashnode.com/posts/frequently-used-array-methods-in-javascript/628792b48fb776481a285386)

### [Event bubbling and capturing in JavaScript.](https://patelyash.hashnode.dev/event-bubbling-and-capturing-in-javascript?utm_source=hashnode&utm_medium=feed)

Event bubbling and capturing are two ways of event propagation in the DOM tree. Event Bubbling In the bubbling, the event is "bubbled" up to the DOM tree. so from the targeted element to its parent elements and finally to the root. Let's check with ...

3 min read · [patelyash.hashnode.dev](https://patelyash.hashnode.dev/event-bubbling-and-capturing-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 20, 2022](https://hashnode.com/posts/event-bubbling-and-capturing-in-javascript/6287821589168247f55eee33)
