Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@riteshx95 I hope you mean
me.children == [];
Otherwise you'll get a null pointer exception in case you change your mind. -
@gorsamp Ah, to my knowledge the exposed API is
public me.addChild()
Assigning a new Array is illegal, because you can only initialize it in the constructor like:
new Person()
Related Rants
me.children = null;
joke/meme
life is good
life choices