Skip to content

Commit cc218fc

Browse files
committed
jso: fix mistake in javadoc
Fix konsoletyper#973
1 parent 447a16d commit cc218fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jso/core/src/main/java/org/teavm/jso/JSMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* <p>Marks abstract member method as a JavaScript method. This is equivalent to the following:</p>
2525
*
2626
* <pre>
27-
* {@literal @}JSBody(params = ..., script = "return new this.methodName(...);")
27+
* {@literal @}JSBody(params = ..., script = "return this.methodName(...);")
2828
* </pre>
2929
*
3030
* <p>where <code>methodName</code> is method's name by default or a name, directly specified by

0 commit comments

Comments
 (0)