---
title: "Discussion on \"React Interview Guide\" | Hashnode"
description: "Discussion on \"React Interview Guide\". ─── JAVASCRIPT & FOUNDATIONS ───\nQ1: Object Reference Puzzle (Output-Based)\nQuestion: What is the output of the following code and why?\nconst obj = { test: \"Priyansh\" };\nconst obj2 = obj;\nobj2.test ="
url: "https://hashnode.com/posts/react-interview-guide/6a58e11f21b432a9609e18eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Interview Guide](https://rahulagarwal.hashnode.dev/react-interview-guide?utm_source=hashnode&utm_medium=feed)

─── JAVASCRIPT & FOUNDATIONS ─── Q1: Object Reference Puzzle (Output-Based) Question: What is the output of the following code and why? const obj = { test: "Priyansh" }; const obj2 = obj; obj2.test =

Jul 16 · 27 min read · rahulagarwal.hashnode.dev  
Read the article

## Written by

[Rahul Agarwal](https://hashnode.com/@RahulAgarwal)

@RahulAgarwal

  
[View profile](https://hashnode.com/@RahulAgarwal)

Exploring the world of Programming

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
