summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js b/external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js
new file mode 100644
index 000000000..2d9fcf1c7
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/08_Types/8.8_The_List_Type/S8.8_A2_T1.js
@@ -0,0 +1,18 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+* @name: S8.8_A2_T1;
+* @section: 8.8;
+* @assertion: Values of the List type are simply ordered sequences of values;
+* @description: Call function __mFunc(1,2,3) with 3 arguments;
+*/
+
+function __mFunc(){return arguments.length;};
+//////////////////////////////////////////////////////////////////////////////
+//CHECK#1
+if (__mFunc(1,2,3) !== 3){
+ $ERROR('#1: function __mFunc(){return arguments.length;}; __mFunc(1,2,3) === 3. Actual: ' + (__mFunc(1,2,3)));
+}
+//
+//////////////////////////////////////////////////////////////////////////////