---
title: "Comment by Ayodele Samuel Adebayo on \"Understanding Execution Context, Thread, and Functions in Javascript\" | Hashnode"
description: "Nice one 🤠.... Variable P will also be assigned after EC is created for call y(). If this is correct then I&#39;ve learnt from you.."
url: "https://hashnode.com/posts/understanding-execution-context-thread-and-functions-in-javascript/5f8f2ad81a610045ce582086/comment/5f92a85ec626a0545fb620c9"
---

[Discussion](https://hashnode.com/posts/understanding-execution-context-thread-and-functions-in-javascript/5f8f2ad81a610045ce582086)

Comment [Understanding Execution Context, Thread, and Functions in Javascript](https://hashnode.com/posts/understanding-execution-context-thread-and-functions-in-javascript/5f8f2ad81a610045ce582086)

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 23, 2020](https://hashnode.com/posts/understanding-execution-context-thread-and-functions-in-javascript/5f8f2ad81a610045ce582086/comment/5f92a85ec626a0545fb620c9)

Nice one 🤠.... Variable P will also be assigned after EC is created for call y().

If this is correct then I've learnt from you..

[Deepak Kumar](https://hashnode.com/@deepak_dev)

[Oct 23, 2020](https://hashnode.com/posts/understanding-execution-context-thread-and-functions-in-javascript/5f8f2ad81a610045ce582086/comment/5f92a85ec626a0545fb620c9#reply-5f92ab3c6aa1ed54804bb8da)

Yes, the scope of p will be limited to function `y` only.
