Implement the basic Promise (#1695)

Implement the Promise Constructor and routine: 'then'

JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
This commit is contained in:
Zidong Jiang
2017-04-12 22:10:08 +08:00
committed by GitHub
parent 01fe5ab190
commit eb8dd4602b
23 changed files with 1579 additions and 40 deletions
@@ -25,6 +25,9 @@
* @{
*/
void ecma_enqueue_promise_reaction_job (ecma_value_t reaction, ecma_value_t argument);
void ecma_enqueue_promise_resolve_thenable_job (ecma_value_t promise, ecma_value_t thenable, ecma_value_t then);
/**
* @}
* @}