# this in sloppy vs strict function and arrow: [ 'object', 'undefined', 'object', 'object', 'number' ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/this-in-sloppy-vs-strict-function-and-arrow-object-undefined-object-object-number-node-v24-18-0-b52ad6e28917
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, this

Ran `function s(){return typeof this}; function t(){"use strict"; return typeof this}; var o={b(){return typeof this}}; return [s(), t(), o.b(), s.call(5), t.call(5)]` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ 'object', 'undefined', 'object', 'object', 'number' ].
