---
title: "Discussion on \"JS Mini Challenges Week 1\" | Hashnode"
description: "Discussion on \"JS Mini Challenges Week 1\". Guess the outputs without executing the code\nvar foo = function(){\n    var args = Array.prototype.slice.call(arguments);\n    console.log(args[1])\n}\nfoo(1,2,4) //?\n\nconst obj1 = {\n    a: 5,\n    b: {\n        c: 6\n    }\n}\n\nconst obj2 = Object.assign({},..."
url: "https://hashnode.com/posts/js-mini-challenges-week-1/641cdd8d2c4352f21272fac3"
---

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

Discussion

# [JS Mini Challenges Week 1](https://blogs.sravanth.co.uk/js-mini-challenges-week-1?utm_source=hashnode&utm_medium=feed)

Guess the outputs without executing the code var foo = function(){ var args = Array.prototype.slice.call(arguments); console.log(args\[1\]) } foo(1,2,4) //? const obj1 = { a: 5, b: { c: 6 } } const obj2 = Object.assign({},...

Mar 23, 2023 · 2 min read · blogs.sravanth.co.uk  
Updated May 6, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Sravanth](https://hashnode.com/@sravanth-baratam)

@sravanth-baratam · Ilford, United Kingdom

  
[View profile](https://hashnode.com/@sravanth-baratam)

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
