---
title: "Udayraj Sawant (@uday216) | Hashnode"
description: "Dev aspirant. Read the latest articles by Udayraj Sawant on Hashnode."
url: "https://hashnode.com/@uday216"
---

@uday216

# Udayraj Sawant

@uday216 · Joined February 2022

Dev aspirant

### [Loops in javascript](https://udayraj.sawant.com/loops-in-javascript?utm_source=hashnode&utm_medium=feed)

for loop: Single for loop: Below is the syntax of a for loop with the example of skipping the even numbers and printing the odd numbers between 1 to 10. for (let i = 0; i <=10; i++) { const element = i; if (element%2==0) { contin...

3 min read · [udayraj.sawant.com](https://udayraj.sawant.com/loops-in-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 15, 2023](https://hashnode.com/posts/loops-in-javascript/6554ec38615d75d5a53a26ce)

### [Functions in javascript](https://udayraj.sawant.com/functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Function declaration and accessing: In javascript, we can declare and access the function in the following way function sayMyName() { console.log("U"); console.log("D"); console.log("A"); console.log("Y"); console.log("R"); co...

5 min read · [udayraj.sawant.com](https://udayraj.sawant.com/functions-in-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 13, 2023](https://hashnode.com/posts/functions-in-javascript/65524add37756626a3267275)

### [Objects in javascript](https://udayraj.sawant.com/objects-in-javascript?utm_source=hashnode&utm_medium=feed)

Declaration of the object: In JavaScript, we can create an object by using curly braces {} and then add key-value pairs as items of the object. Key-value pairs are like pairs of name and value. The key is what you will use to access the value, and th...

5 min read · [udayraj.sawant.com](https://udayraj.sawant.com/objects-in-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 8, 2023](https://hashnode.com/posts/objects-in-javascript/654bb555fc54909139cdec59)

### [Math Object in javascript](https://udayraj.sawant.com/math-object-in-javascript?utm_source=hashnode&utm_medium=feed)

Math is an object in JavaScript that provides mathematical functions and constants. There is no need to create an instance of the object we can directly access the methods of this object by simply calling it with the "." operator e.g. Math.round(x) t...

4 min read · [udayraj.sawant.com](https://udayraj.sawant.com/math-object-in-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 6, 2023](https://hashnode.com/posts/math-object-in-javascript/654924024faac38a16bba4c5)

### [Date object and its methods in javascript](https://udayraj.sawant.com/date-object-and-its-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

Date object in js The Date object in JavaScript is used for working with dates and times. The Date object represents a specific moment in time, including the year, month, day, hour, minute, second, and milliseconds. The date object in JavaScript prov...

5 min read · [udayraj.sawant.com](https://udayraj.sawant.com/date-object-and-its-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 5, 2023](https://hashnode.com/posts/date-object-and-its-methods-in-javascript/6547c5a1b1f78f6de5a83781)
