Skip to content

Commit 2dc67fb

Browse files
committed
more docu
1 parent 9ce9445 commit 2dc67fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rhino/src/main/java/org/mozilla/javascript/ScriptableObject.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,11 +1584,13 @@ public boolean defineOwnProperty(Context cx, Object id, ScriptableObject desc) {
15841584
* Defines a property on an object.
15851585
*
15861586
* <p>Based on [[DefineOwnProperty]] from 8.12.10 of the spec.
1587+
* see <a href="https://tc39.es/ecma262/#table-essential-internal-methods">[[DefineOwnProperty]]</a>
15871588
*
15881589
* @param cx the current Context
15891590
* @param id the name/index of the property
15901591
* @param desc the new property descriptor, as described in 8.6.1
15911592
* @param checkValid whether to perform validity checks
1593+
* @return always true at the moment
15921594
*/
15931595
protected boolean defineOwnProperty(
15941596
Context cx, Object id, ScriptableObject desc, boolean checkValid) {

0 commit comments

Comments
 (0)