summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js b/external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js
new file mode 100644
index 000000000..378dedcd3
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/08_Types/8.1_The_Undefined_Type/S8.1_A4.js
@@ -0,0 +1,15 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S8.1_A4;
+ * @section: 8.1;
+ * @assertion: If property of object not exist, return undefined;
+ * @description: Check value of not existed property;
+*/
+
+// CHECK#1
+if ((new Object()).newProperty !== undefined) {
+ $ERROR('#1: (new Object()).newProperty === undefined. Actual: ' + ((new Object()).newProperty));
+}
+