site_header
en
ja
zh
Most Powerful Open Source ERP
Contact
Login
header_title
Always check the returned value of a method
breadcrumb
Home
Success Cases
Always check the returned value of a method
profile_document
Last Update:
2020-06-05
Version:
001
Language:
en
Page Content
Always check the returned value of a method
As all renderJS method calls are asynchronous, exceptions are only propagated to the promise rejection handlers.
Good example:
return my_gadget.callMethod();
Bad example:
my_gadget.callMethod();
related_documents
discussions