---
title: "Discussion on \"JS - oops\" | Hashnode"
description: "Discussion on \"JS - oops\". 'this' and it's properties\n// this\n\nconsole.log(this) //{}\n\nfunction onGlobalStage() {\n    return this;\n}\n\nfunction onGlobalStageStrict() {\n    \"use strict\";\n    return this;\n}\n\nconsole.log(onGlobalSt"
url: "https://hashnode.com/posts/js-oops/6a54d013dffb296f54343c65"
---

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

Discussion

# [JS - oops](https://javascriptfromscratch.hashnode.dev/js-oops?utm_source=hashnode&utm_medium=feed)

'this' and it's properties // this console.log(this) //{} function onGlobalStage() { return this; } function onGlobalStageStrict() { "use strict"; return this; } console.log(onGlobalSt

Jul 13 · 11 min read · javascriptfromscratch.hashnode.dev  
Read the article

## Written by

[Gambit](https://hashnode.com/@onchiangambit)

@onchiangambit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
