---
title: "Preeti (@preeticodes) | Hashnode"
description: "Preeti (@preeticodes) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@preeticodes"
---

@preeticodes

# Preeti

@preeticodes · Bengaluru · Joined January 2023

### [Call, Apply, bind methods in js](https://preetisays.hashnode.dev/call-apply-bind-methods-in-js?utm_source=hashnode&utm_medium=feed)

Call, apply and bind methods are some of the basic JS functions which are used to control the scoping of “this” keyword in JS. Call->imagine we have an object method, and and another object method wants to use the function from the first object metho...

1 min read · [preetisays.hashnode.dev](https://preetisays.hashnode.dev/call-apply-bind-methods-in-js?utm_source=hashnode&utm_medium=feed)

[Sep 25, 2024](https://hashnode.com/posts/call-apply-bind-methods-in-js/66f43d33b6c187c1580b5fb5)

### [Closure in JS](https://preetisays.hashnode.dev/closure-in-js?utm_source=hashnode&utm_medium=feed)

A function along with it's lexical scope inside a function is called closure. example: let's take a we want to increment a value by clicking a button, the basic way we can do it by is using a varible which will be incremented on every click. var clic...

2 min read · [preetisays.hashnode.dev](https://preetisays.hashnode.dev/closure-in-js?utm_source=hashnode&utm_medium=feed)

[Jul 17, 2024](https://hashnode.com/posts/closure-in-js/6697e497e4691aa867e89d00)

### [Switch(true) in js](https://preetisays.hashnode.dev/switchtrue-in-js?utm_source=hashnode&utm_medium=feed)

Well i was writing this small code to check some conditions using a switch statement, when i came acoss this mundane JS concept where we use Switch(expression) and then the following cases for it, in Java, i remember using switch(variable) which will...

1 min read · [preetisays.hashnode.dev](https://preetisays.hashnode.dev/switchtrue-in-js?utm_source=hashnode&utm_medium=feed)

[Jun 26, 2024](https://hashnode.com/posts/switchtrue-in-js/667c42e6e3b550805883e188)
