---
description: 🚧 under construction
---

# parameter scope

[JS](..)⟩ [scope]() ⟩ parameter scope

{% hint style="success" %}
the [](<> "mention") where all the [param](../val/func/param "mention")(s) live.
{% endhint %}

{% tabs %}
{% tab title="⭐️ 重點" %}
{% hint style="info" %}
[simple-vs-nonsimple](../val/func/param/simple-vs-nonsimple "mention") - <mark style="color:yellow;">**determines**</mark> whether <mark style="color:blue;">**parameters**</mark> and <mark style="color:green;">**body declarations**</mark> are <mark style="color:yellow;">**stored**</mark> in the <mark style="color:red;">**same**</mark> <mark style="color:yellow;">**environment record**</mark>. (i.e. in the same scope)

:point\_right: more info：[instantiation](../val/func/declare/instantiation "mention")&#x20;
{% endhint %}
{% endtab %}

{% tab title="💈範例" %}
* replit：

```javascript
// 🚧
```
{% endtab %}

{% tab title="👥 相關" %}
* [instantiation](../val/func/declare/instantiation "mention") - the process right before calling a function.
* [simple-vs-nonsimple](../val/func/param/simple-vs-nonsimple "mention") - <mark style="color:yellow;">**determines**</mark> whether <mark style="color:blue;">**parameters**</mark> and <mark style="color:green;">**body declarations**</mark> are <mark style="color:yellow;">**stored**</mark> in the <mark style="color:red;">**same**</mark> <mark style="color:yellow;">**environment record**</mark>. (i.e. in the same scope)
* [param](../val/func/param "mention")
* [implied](implied "mention")
* [for-init-scope](../grammar/statement/loop/for/for/for-init-scope "mention")
{% endtab %}

{% tab title="📗 參考" %}
* [ ] [ydkjs-scope-and-closures-v.2](../../master/ref/book/you-dont-know-js-series-v.2/ydkjs-scope-and-closures-v.2 "mention") ⟩ Appendix A: [Exploring Further](https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/scope-closures/apA.md#appendix-a-exploring-further)
{% endtab %}
{% endtabs %}
