Skip to content

Incorrect warning "The global variable "this" is not declared" #4568

@ViktorKarev

Description

@ViktorKarev

Apache NetBeans version

Apache NetBeans 14

What happened

I found a strange warning in a javascript file.
test.js.zip
view

How to reproduce

Open file in Apache NetBeans.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 7

JDK

java version "1.8.0_341" Java(TM) SE Runtime Environment (build 1.8.0_341-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

Metadata

Metadata

Labels

JavaScript[ci] enable web job and extra JavaScript tests (webcommon/javascript2.editor)kind:bugBug report or fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions