mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
added Object.assign
This commit is contained in:
parent
606581b5f3
commit
3dc9aeeab3
@ -190,6 +190,8 @@ public class Object {
|
|||||||
*/
|
*/
|
||||||
native public static Array<String> keys(java.lang.Object o);
|
native public static Array<String> keys(java.lang.Object o);
|
||||||
|
|
||||||
|
native public static def.js.Object assign(def.js.Object target, def.js.Object... sources);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether an object has a property with the specified name.
|
* Determines whether an object has a property with the specified name.
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user