diff --git a/vm/src/Table.js b/vm/src/Table.js
index <HASH>..<HASH> 100644
--- a/vm/src/Table.js
+++ b/vm/src/Table.js
@@ -180,7 +180,12 @@
 
 			case 'number':
 				if (positiveIntegerKey) {
-					this.__shine.numValues[key] = value;
+					if (value === undefined) {
+						delete this.__shine.numValues[key];
+					} else {
+						this.__shine.numValues[key] = value;
+					}
+
 					break;
 				}
Bugfix for using "tables with holes" in pairs() with the recent changes to numerical keys.