Skip to content

Commit ea2fc0c

Browse files
iamstolishachim-hassani
authored andcommitted
Correction of the JavaDoc of ParserContextFunctionNode.isModule().
(cherry picked from commit fc62c77)
1 parent eca7a94 commit ea2fc0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ParserContextFunctionNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -167,7 +167,7 @@ public boolean isStrict() {
167167
}
168168

169169
/**
170-
* @return if function in strict mode
170+
* @return true if the function is a module.
171171
*/
172172
public boolean isModule() {
173173
return getFlag(FunctionNode.IS_MODULE) != 0;

0 commit comments

Comments
 (0)