# Function createScope

- createScope(target?: any, context?: Scope): Scope

  Creates a deep proxy for the target object, intercepting property changes and recursively applying proxies to nested objects.

  #### Parameters

  - target: any = {}

    The object to be wrapped in a proxy.

  - `Optional` context: Scope

    The context for the handler, used to track listeners.

  #### Returns Scope

  - A proxy that intercepts operations on the target object, or the original value if the target is not an object.
  - Defined in src/core/scope/scope.js:78