Added utilities for generic reviver, toJSON, and fromJSON. Eventually will be used for loading and saving objects

This commit is contained in:
Daniel Xie
2016-11-30 16:08:21 -06:00
parent 2d41a63707
commit b821fc2ea9
4 changed files with 104 additions and 11 deletions
+2
View File
@@ -3,6 +3,8 @@
//this flag from outside. If the evaluate() function sees that flag it rejects the current
// Promise. We can catch that rejection and stop the script.
//TODO Tested For and while and generic call statements. Have not tested if statements
/* Actual Worker Code */
function WorkerScript() {
this.name = "";