mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
The generated converted test, as generated from fixed converter
applied to many fixed sources, corresponding to previous two commits
This commit is contained in:
parent
bd72486ff2
commit
b796d10c4b
@ -10,13 +10,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK
|
//CHECK
|
||||||
errorCount = 0;
|
var errorCount = 0;
|
||||||
count = 0;
|
var count = 0;
|
||||||
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
||||||
for (i1 = 0; i1 < 16; i1++) {
|
for (var i1 = 0; i1 < 16; i1++) {
|
||||||
for (i2 = 0; i2 < 16; i2++) {
|
for (var i2 = 0; i2 < 16; i2++) {
|
||||||
for (i3 = 0; i3 < 16; i3++) {
|
for (var i3 = 0; i3 < 16; i3++) {
|
||||||
for (i4 = 0; i4 < 16; i4++) {
|
for (var i4 = 0; i4 < 16; i4++) {
|
||||||
try {
|
try {
|
||||||
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
||||||
var xx = String.fromCharCode("0x" + uu);
|
var xx = String.fromCharCode("0x" + uu);
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK
|
//CHECK
|
||||||
errorCount = 0;
|
var errorCount = 0;
|
||||||
count = 0;
|
var count = 0;
|
||||||
for (indexI = 0; indexI <= 65535; indexI++) {
|
for (var indexI = 0; indexI <= 65535; indexI++) {
|
||||||
try {
|
try {
|
||||||
var xx = 0;
|
var xx = 0;
|
||||||
eval("/*var " + String.fromCharCode(indexI) + "xx = 1*/");
|
eval("/*var " + String.fromCharCode(indexI) + "xx = 1*/");
|
||||||
|
@ -10,114 +10,113 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// a
|
// a
|
||||||
and = 1;
|
var and = 1;
|
||||||
and_eq = 1;
|
var and_eq = 1;
|
||||||
as = 1;
|
var as = 1;
|
||||||
asm = 1;
|
var asm = 1;
|
||||||
assert = 1;
|
var assert = 1;
|
||||||
auto = 1;
|
var auto = 1;
|
||||||
// b
|
// b
|
||||||
base = 1;
|
var base = 1;
|
||||||
bitand = 1;
|
var bitand = 1;
|
||||||
bitor = 1;
|
var bitor = 1;
|
||||||
bool = 1;
|
var bool = 1;
|
||||||
byvalue = 1;
|
var byvalue = 1;
|
||||||
// c
|
// c
|
||||||
checked = 1;
|
var checked = 1;
|
||||||
clone = 1;
|
var clone = 1;
|
||||||
comment = 1;
|
var comment = 1;
|
||||||
compl = 1;
|
var compl = 1;
|
||||||
const_cast = 1;
|
var const_cast = 1;
|
||||||
// d
|
// d
|
||||||
decimal = 1;
|
var decimal = 1;
|
||||||
delegate = 1;
|
var delegate = 1;
|
||||||
dynamic_cast = 1;
|
var dynamic_cast = 1;
|
||||||
// e
|
// e
|
||||||
explicit = 1;
|
var explicit = 1;
|
||||||
extern = 1;
|
var extern = 1;
|
||||||
equals = 1;
|
var equals = 1;
|
||||||
event = 1;
|
var event = 1;
|
||||||
// f
|
// f
|
||||||
finalize = 1;
|
var finalize = 1;
|
||||||
fixed = 1;
|
var fixed = 1;
|
||||||
friend = 1;
|
var friend = 1;
|
||||||
foreach = 1;
|
var foreach = 1;
|
||||||
future = 1;
|
var future = 1;
|
||||||
// g
|
// g
|
||||||
getClass = 1;
|
var getClass = 1;
|
||||||
generic = 1;
|
var generic = 1;
|
||||||
// h
|
// h
|
||||||
hashCode = 1;
|
var hashCode = 1;
|
||||||
// i
|
// i
|
||||||
implicit = 1;
|
var implicit = 1;
|
||||||
infinity = 1;
|
var infinity = 1;
|
||||||
inline = 1;
|
var inline = 1;
|
||||||
inner = 1;
|
var inner = 1;
|
||||||
internal = 1;
|
var internal = 1;
|
||||||
is = 1;
|
var is = 1;
|
||||||
// j
|
// j
|
||||||
// k
|
// k
|
||||||
// l
|
// l
|
||||||
lock = 1;
|
var lock = 1;
|
||||||
// m
|
// m
|
||||||
mutable = 1;
|
var mutable = 1;
|
||||||
// n
|
// n
|
||||||
NaN = 1;
|
var namespace = 1;
|
||||||
namespace = 1;
|
var not = 1;
|
||||||
not = 1;
|
var notify = 1;
|
||||||
notify = 1;
|
var notifyAll = 1;
|
||||||
notifyAll = 1;
|
var not_eq = 1;
|
||||||
not_eq = 1;
|
|
||||||
// o
|
// o
|
||||||
object = 1;
|
var object = 1;
|
||||||
operator = 1;
|
var operator = 1;
|
||||||
or = 1;
|
var or = 1;
|
||||||
or_eq = 1;
|
var or_eq = 1;
|
||||||
out = 1;
|
var out = 1;
|
||||||
outer = 1;
|
var outer = 1;
|
||||||
override = 1;
|
var override = 1;
|
||||||
// p
|
// p
|
||||||
params = 1;
|
var params = 1;
|
||||||
// q
|
// q
|
||||||
// r
|
// r
|
||||||
readonly = 1;
|
var readonly = 1;
|
||||||
reinterpret_cast = 1;
|
var reinterpret_cast = 1;
|
||||||
ref = 1;
|
var ref = 1;
|
||||||
register = 1;
|
var register = 1;
|
||||||
|
|
||||||
// s
|
// s
|
||||||
sbyte = 1;
|
var sbyte = 1;
|
||||||
signed = 1;
|
var signed = 1;
|
||||||
sizeof = 1;
|
var sizeof = 1;
|
||||||
stackalloc = 1;
|
var stackalloc = 1;
|
||||||
static_cast = 1;
|
var static_cast = 1;
|
||||||
string = 1;
|
var string = 1;
|
||||||
strictfp = 1;
|
var strictfp = 1;
|
||||||
struct = 1;
|
var struct = 1;
|
||||||
// t
|
// t
|
||||||
template = 1;
|
var template = 1;
|
||||||
toString = 1;
|
var toString = 1;
|
||||||
typedef = 1;
|
var typedef = 1;
|
||||||
typeid = 1;
|
var typeid = 1;
|
||||||
// u
|
// u
|
||||||
uint = 1;
|
var uint = 1;
|
||||||
unchecked = 1;
|
var unchecked = 1;
|
||||||
undefiend = 1;
|
var undefiend = 1;
|
||||||
union = 1;
|
var union = 1;
|
||||||
unsafe = 1;
|
var unsafe = 1;
|
||||||
unsigned = 1;
|
var unsigned = 1;
|
||||||
use = 1;
|
var use = 1;
|
||||||
using = 1;
|
var using = 1;
|
||||||
ushort = 1;
|
var ushort = 1;
|
||||||
// v
|
// v
|
||||||
valueOf = 1;
|
var valueOf = 1;
|
||||||
virtual = 1;
|
var virtual = 1;
|
||||||
// w
|
// w
|
||||||
wait = 1;
|
var wait = 1;
|
||||||
wchar_t = 1;
|
var wchar_t = 1;
|
||||||
// x
|
// x
|
||||||
xor = 1;
|
var xor = 1;
|
||||||
xor_eq = 1;
|
var xor_eq = 1;
|
||||||
// y
|
// y
|
||||||
// z
|
// z
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "abstract=1" succeeds
|
* @description Checking if execution of "abstract=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract = 1;
|
var abstract = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export = 1;
|
var export = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extends = 1;
|
var extends = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "final=1" succeeds
|
* @description Checking if execution of "final=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
final = 1;
|
var final = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "float=1" succeeds
|
* @description Checking if execution of "float=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
float = 1;
|
var float = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "goto=1" succeeds
|
* @description Checking if execution of "goto=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
goto = 1;
|
var goto = 1;
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.js
|
||||||
* @description Checking if execution of "implements=1" fails in strict code
|
* @description Checking if execution of "implements=1" fails in strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
var implements = 1;
|
||||||
implements = 1;
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js
|
||||||
* @description Checking if execution of "implements=1" succeeds in non-strict code
|
* @description Checking if execution of "implements=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('implements = 1');
|
var implements = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import = 1;
|
var import = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "int=1" succeeds
|
* @description Checking if execution of "int=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int = 1;
|
var int = 1;
|
||||||
|
|
||||||
|
@ -8,9 +8,10 @@
|
|||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js
|
||||||
* @description Checking if execution of "interface = 1" fails in
|
* @description Checking if execution of "interface = 1" fails in
|
||||||
* strict code
|
* strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
interface = 1;
|
var interface = 1;
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js
|
||||||
* @description Checking if execution of "interface = 1" succeeds in
|
* @description Checking if execution of "interface = 1" succeeds in
|
||||||
* non-strict code
|
* non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('interface = 1');
|
var interface = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "long=1" succeeds
|
* @description Checking if execution of "long=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
long = 1;
|
var long = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "boolean=1" succeeds
|
* @description Checking if execution of "boolean=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
boolean = 1;
|
var boolean = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "native=1" succeeds
|
* @description Checking if execution of "native=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
native = 1;
|
var native = 1;
|
||||||
|
|
||||||
|
@ -7,9 +7,10 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.js
|
||||||
* @description Checking if execution of "package=1" fails in strict code
|
* @description Checking if execution of "package=1" fails in strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
package = 1;
|
var package = 1;
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js
|
||||||
* @description Checking if execution of "package=1" succeeds in non-strict code
|
* @description Checking if execution of "package=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('package = 1');
|
var package = 1;
|
||||||
|
|
||||||
|
@ -7,9 +7,10 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js
|
||||||
* @description Checking if execution of "private=1" fails in strict code
|
* @description Checking if execution of "private=1" fails in strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
private = 1;
|
var private = 1;
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22ns.js
|
||||||
* @description Checking if execution of "private=1" succeeds in non-strict code
|
* @description Checking if execution of "private=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('private = 1');
|
var private = 1;
|
||||||
|
|
||||||
|
@ -8,9 +8,10 @@
|
|||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js
|
||||||
* @description Checking if execution of "protected=1" fails in
|
* @description Checking if execution of "protected=1" fails in
|
||||||
* strict code
|
* strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
protected = 1;
|
var protected = 1;
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23ns.js
|
||||||
* @description Checking if execution of "protected=1" succeeds in non-strict code
|
* @description Checking if execution of "protected=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('protected = 1');
|
var protected = 1;
|
||||||
|
|
||||||
|
@ -7,9 +7,10 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.js
|
||||||
* @description Checking if execution of "public=1" fails in strict code
|
* @description Checking if execution of "public=1" fails in strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
public = 1;
|
var public = 1;
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24ns.js
|
||||||
* @description Checking if execution of "public=1" succeeds in non-strict code
|
* @description Checking if execution of "public=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('public = 1');
|
var public = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "short=1" succeeds
|
* @description Checking if execution of "short=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
short = 1;
|
var short = 1;
|
||||||
|
|
||||||
|
@ -7,9 +7,10 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.js
|
||||||
* @description Checking if execution of "static=1" fails in strict code
|
* @description Checking if execution of "static=1" fails in strict code
|
||||||
|
* @strict_only
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
static = 1;
|
var static = 1;
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
* @section 7.5.3
|
* @section 7.5.3
|
||||||
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js
|
* @path 07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26ns.js
|
||||||
* @description Checking if execution of "static=1" succeeds in non-strict code
|
* @description Checking if execution of "static=1" succeeds in non-strict code
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
new Function('static = 1');
|
var static = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
super = 1;
|
var super = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "synchronized=1" succeeds
|
* @description Checking if execution of "synchronized=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
synchronized = 1;
|
var synchronized = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "throws=1" succeeds
|
* @description Checking if execution of "throws=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
throws = 1;
|
var throws = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "byte=1" succeeds
|
* @description Checking if execution of "byte=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
byte = 1;
|
var byte = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "transient=1" succeeds
|
* @description Checking if execution of "transient=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
transient = 1;
|
var transient = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "volatile=1" succeeds
|
* @description Checking if execution of "volatile=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
volatile = 1;
|
var volatile = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "char=1" succeeds
|
* @description Checking if execution of "char=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char = 1;
|
var char = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class = 1;
|
var class = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const = 1;
|
var const = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
debugger = 1;
|
var debugger = 1;
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
* @description Checking if execution of "double=1" succeeds
|
* @description Checking if execution of "double=1" succeeds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
double = 1;
|
var double = 1;
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
enum = 1;
|
var enum = 1;
|
||||||
|
|
||||||
|
@ -10,107 +10,107 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#A-Z
|
//CHECK#A-Z
|
||||||
\u0041 = 1;
|
var \u0041 = 1;
|
||||||
if (A !== 1) {
|
if (A !== 1) {
|
||||||
$ERROR('#A');
|
$ERROR('#A');
|
||||||
}
|
}
|
||||||
\u0042 = 1;
|
var \u0042 = 1;
|
||||||
if (B !== 1) {
|
if (B !== 1) {
|
||||||
$ERROR('#B');
|
$ERROR('#B');
|
||||||
}
|
}
|
||||||
\u0043 = 1;
|
var \u0043 = 1;
|
||||||
if (C !== 1) {
|
if (C !== 1) {
|
||||||
$ERROR('#C');
|
$ERROR('#C');
|
||||||
}
|
}
|
||||||
\u0044 = 1;
|
var \u0044 = 1;
|
||||||
if (D !== 1) {
|
if (D !== 1) {
|
||||||
$ERROR('#D');
|
$ERROR('#D');
|
||||||
}
|
}
|
||||||
\u0045 = 1;
|
var \u0045 = 1;
|
||||||
if (E !== 1) {
|
if (E !== 1) {
|
||||||
$ERROR('#E');
|
$ERROR('#E');
|
||||||
}
|
}
|
||||||
\u0046 = 1;
|
var \u0046 = 1;
|
||||||
if (F !== 1) {
|
if (F !== 1) {
|
||||||
$ERROR('#F');
|
$ERROR('#F');
|
||||||
}
|
}
|
||||||
\u0047 = 1;
|
var \u0047 = 1;
|
||||||
if (G !== 1) {
|
if (G !== 1) {
|
||||||
$ERROR('#G');
|
$ERROR('#G');
|
||||||
}
|
}
|
||||||
\u0048 = 1;
|
var \u0048 = 1;
|
||||||
if (H !== 1) {
|
if (H !== 1) {
|
||||||
$ERROR('#H');
|
$ERROR('#H');
|
||||||
}
|
}
|
||||||
\u0049 = 1;
|
var \u0049 = 1;
|
||||||
if (I !== 1) {
|
if (I !== 1) {
|
||||||
$ERROR('#I');
|
$ERROR('#I');
|
||||||
}
|
}
|
||||||
\u004A = 1;
|
var \u004A = 1;
|
||||||
if (J !== 1) {
|
if (J !== 1) {
|
||||||
$ERROR('#J');
|
$ERROR('#J');
|
||||||
}
|
}
|
||||||
\u004B = 1;
|
var \u004B = 1;
|
||||||
if (K !== 1) {
|
if (K !== 1) {
|
||||||
$ERROR('#K');
|
$ERROR('#K');
|
||||||
}
|
}
|
||||||
\u004C = 1;
|
var \u004C = 1;
|
||||||
if (L !== 1) {
|
if (L !== 1) {
|
||||||
$ERROR('#L');
|
$ERROR('#L');
|
||||||
}
|
}
|
||||||
\u004D = 1;
|
var \u004D = 1;
|
||||||
if (M !== 1) {
|
if (M !== 1) {
|
||||||
$ERROR('#M');
|
$ERROR('#M');
|
||||||
}
|
}
|
||||||
\u004E = 1;
|
var \u004E = 1;
|
||||||
if (N !== 1) {
|
if (N !== 1) {
|
||||||
$ERROR('#N');
|
$ERROR('#N');
|
||||||
}
|
}
|
||||||
\u004F = 1;
|
var \u004F = 1;
|
||||||
if (O !== 1) {
|
if (O !== 1) {
|
||||||
$ERROR('#O');
|
$ERROR('#O');
|
||||||
}
|
}
|
||||||
\u0050 = 1;
|
var \u0050 = 1;
|
||||||
if (P !== 1) {
|
if (P !== 1) {
|
||||||
$ERROR('#P');
|
$ERROR('#P');
|
||||||
}
|
}
|
||||||
\u0051 = 1;
|
var \u0051 = 1;
|
||||||
if (Q !== 1) {
|
if (Q !== 1) {
|
||||||
$ERROR('#Q');
|
$ERROR('#Q');
|
||||||
}
|
}
|
||||||
\u0052 = 1;
|
var \u0052 = 1;
|
||||||
if (R !== 1) {
|
if (R !== 1) {
|
||||||
$ERROR('#R');
|
$ERROR('#R');
|
||||||
}
|
}
|
||||||
\u0053 = 1;
|
var \u0053 = 1;
|
||||||
if (S !== 1) {
|
if (S !== 1) {
|
||||||
$ERROR('#S');
|
$ERROR('#S');
|
||||||
}
|
}
|
||||||
\u0054 = 1;
|
var \u0054 = 1;
|
||||||
if (T !== 1) {
|
if (T !== 1) {
|
||||||
$ERROR('#T');
|
$ERROR('#T');
|
||||||
}
|
}
|
||||||
\u0055 = 1;
|
var \u0055 = 1;
|
||||||
if (U !== 1) {
|
if (U !== 1) {
|
||||||
$ERROR('#U');
|
$ERROR('#U');
|
||||||
}
|
}
|
||||||
\u0056 = 1;
|
var \u0056 = 1;
|
||||||
if (V !== 1) {
|
if (V !== 1) {
|
||||||
$ERROR('#V');
|
$ERROR('#V');
|
||||||
}
|
}
|
||||||
\u0057 = 1;
|
var \u0057 = 1;
|
||||||
if (W !== 1) {
|
if (W !== 1) {
|
||||||
$ERROR('#W');
|
$ERROR('#W');
|
||||||
}
|
}
|
||||||
\u0058 = 1;
|
var \u0058 = 1;
|
||||||
if (X !== 1) {
|
if (X !== 1) {
|
||||||
$ERROR('#X');
|
$ERROR('#X');
|
||||||
}
|
}
|
||||||
\u0059 = 1;
|
var \u0059 = 1;
|
||||||
if (Y !== 1) {
|
if (Y !== 1) {
|
||||||
$ERROR('#Y');
|
$ERROR('#Y');
|
||||||
}
|
}
|
||||||
\u005A = 1;
|
var \u005A = 1;
|
||||||
if (Z !== 1) {
|
if (Z !== 1) {
|
||||||
$ERROR('#Z');
|
$ERROR('#Z');
|
||||||
}
|
}
|
||||||
|
@ -10,107 +10,107 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#a-z
|
//CHECK#a-z
|
||||||
\u0061 = 1;
|
var \u0061 = 1;
|
||||||
if (a !== 1) {
|
if (a !== 1) {
|
||||||
$ERROR('#a');
|
$ERROR('#a');
|
||||||
}
|
}
|
||||||
\u0062 = 1;
|
var \u0062 = 1;
|
||||||
if (b !== 1) {
|
if (b !== 1) {
|
||||||
$ERROR('#b');
|
$ERROR('#b');
|
||||||
}
|
}
|
||||||
\u0063 = 1;
|
var \u0063 = 1;
|
||||||
if (c !== 1) {
|
if (c !== 1) {
|
||||||
$ERROR('#c');
|
$ERROR('#c');
|
||||||
}
|
}
|
||||||
\u0064 = 1;
|
var \u0064 = 1;
|
||||||
if (d !== 1) {
|
if (d !== 1) {
|
||||||
$ERROR('#d');
|
$ERROR('#d');
|
||||||
}
|
}
|
||||||
\u0065 = 1;
|
var \u0065 = 1;
|
||||||
if (e !== 1) {
|
if (e !== 1) {
|
||||||
$ERROR('#e');
|
$ERROR('#e');
|
||||||
}
|
}
|
||||||
\u0066 = 1;
|
var \u0066 = 1;
|
||||||
if (f !== 1) {
|
if (f !== 1) {
|
||||||
$ERROR('#f');
|
$ERROR('#f');
|
||||||
}
|
}
|
||||||
\u0067 = 1;
|
var \u0067 = 1;
|
||||||
if (g !== 1) {
|
if (g !== 1) {
|
||||||
$ERROR('#g');
|
$ERROR('#g');
|
||||||
}
|
}
|
||||||
\u0068 = 1;
|
var \u0068 = 1;
|
||||||
if (h !== 1) {
|
if (h !== 1) {
|
||||||
$ERROR('#h');
|
$ERROR('#h');
|
||||||
}
|
}
|
||||||
\u0069 = 1;
|
var \u0069 = 1;
|
||||||
if (i !== 1) {
|
if (i !== 1) {
|
||||||
$ERROR('#i');
|
$ERROR('#i');
|
||||||
}
|
}
|
||||||
\u006A = 1;
|
var \u006A = 1;
|
||||||
if (j !== 1) {
|
if (j !== 1) {
|
||||||
$ERROR('#j');
|
$ERROR('#j');
|
||||||
}
|
}
|
||||||
\u006B = 1;
|
var \u006B = 1;
|
||||||
if (k !== 1) {
|
if (k !== 1) {
|
||||||
$ERROR('#k');
|
$ERROR('#k');
|
||||||
}
|
}
|
||||||
\u006C = 1;
|
var \u006C = 1;
|
||||||
if (l !== 1) {
|
if (l !== 1) {
|
||||||
$ERROR('#l');
|
$ERROR('#l');
|
||||||
}
|
}
|
||||||
\u006D = 1;
|
var \u006D = 1;
|
||||||
if (m !== 1) {
|
if (m !== 1) {
|
||||||
$ERROR('#m');
|
$ERROR('#m');
|
||||||
}
|
}
|
||||||
\u006E = 1;
|
var \u006E = 1;
|
||||||
if (n !== 1) {
|
if (n !== 1) {
|
||||||
$ERROR('#n');
|
$ERROR('#n');
|
||||||
}
|
}
|
||||||
\u006F = 1;
|
var \u006F = 1;
|
||||||
if (o !== 1) {
|
if (o !== 1) {
|
||||||
$ERROR('#o');
|
$ERROR('#o');
|
||||||
}
|
}
|
||||||
\u0070 = 1;
|
var \u0070 = 1;
|
||||||
if (p !== 1) {
|
if (p !== 1) {
|
||||||
$ERROR('#p');
|
$ERROR('#p');
|
||||||
}
|
}
|
||||||
\u0071 = 1;
|
var \u0071 = 1;
|
||||||
if (q !== 1) {
|
if (q !== 1) {
|
||||||
$ERROR('#q');
|
$ERROR('#q');
|
||||||
}
|
}
|
||||||
\u0072 = 1;
|
var \u0072 = 1;
|
||||||
if (r !== 1) {
|
if (r !== 1) {
|
||||||
$ERROR('#r');
|
$ERROR('#r');
|
||||||
}
|
}
|
||||||
\u0073 = 1;
|
var \u0073 = 1;
|
||||||
if (s !== 1) {
|
if (s !== 1) {
|
||||||
$ERROR('#s');
|
$ERROR('#s');
|
||||||
}
|
}
|
||||||
\u0074 = 1;
|
var \u0074 = 1;
|
||||||
if (t !== 1) {
|
if (t !== 1) {
|
||||||
$ERROR('#t');
|
$ERROR('#t');
|
||||||
}
|
}
|
||||||
\u0075 = 1;
|
var \u0075 = 1;
|
||||||
if (u !== 1) {
|
if (u !== 1) {
|
||||||
$ERROR('#u');
|
$ERROR('#u');
|
||||||
}
|
}
|
||||||
\u0076 = 1;
|
var \u0076 = 1;
|
||||||
if (v !== 1) {
|
if (v !== 1) {
|
||||||
$ERROR('#v');
|
$ERROR('#v');
|
||||||
}
|
}
|
||||||
\u0077 = 1;
|
var \u0077 = 1;
|
||||||
if (w !== 1) {
|
if (w !== 1) {
|
||||||
$ERROR('#w');
|
$ERROR('#w');
|
||||||
}
|
}
|
||||||
\u0078 = 1;
|
var \u0078 = 1;
|
||||||
if (x !== 1) {
|
if (x !== 1) {
|
||||||
$ERROR('#x');
|
$ERROR('#x');
|
||||||
}
|
}
|
||||||
\u0079 = 1;
|
var \u0079 = 1;
|
||||||
if (y !== 1) {
|
if (y !== 1) {
|
||||||
$ERROR('#y');
|
$ERROR('#y');
|
||||||
}
|
}
|
||||||
\u007A = 1;
|
var \u007A = 1;
|
||||||
if (z !== 1) {
|
if (z !== 1) {
|
||||||
$ERROR('#z');
|
$ERROR('#z');
|
||||||
}
|
}
|
||||||
|
@ -10,135 +10,135 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#А-Я
|
//CHECK#А-Я
|
||||||
\u0410 = 1;
|
var \u0410 = 1;
|
||||||
if (А !== 1) {
|
if (А !== 1) {
|
||||||
$ERROR('#А');
|
$ERROR('#А');
|
||||||
}
|
}
|
||||||
\u0411 = 1;
|
var \u0411 = 1;
|
||||||
if (Б !== 1) {
|
if (Б !== 1) {
|
||||||
$ERROR('#Б');
|
$ERROR('#Б');
|
||||||
}
|
}
|
||||||
\u0412 = 1;
|
var \u0412 = 1;
|
||||||
if (В !== 1) {
|
if (В !== 1) {
|
||||||
$ERROR('#В');
|
$ERROR('#В');
|
||||||
}
|
}
|
||||||
\u0413 = 1;
|
var \u0413 = 1;
|
||||||
if (Г !== 1) {
|
if (Г !== 1) {
|
||||||
$ERROR('#Г');
|
$ERROR('#Г');
|
||||||
}
|
}
|
||||||
\u0414 = 1;
|
var \u0414 = 1;
|
||||||
if (Д !== 1) {
|
if (Д !== 1) {
|
||||||
$ERROR('#Д');
|
$ERROR('#Д');
|
||||||
}
|
}
|
||||||
\u0415 = 1;
|
var \u0415 = 1;
|
||||||
if (Е !== 1) {
|
if (Е !== 1) {
|
||||||
$ERROR('#Е');
|
$ERROR('#Е');
|
||||||
}
|
}
|
||||||
\u0416 = 1;
|
var \u0416 = 1;
|
||||||
if (Ж !== 1) {
|
if (Ж !== 1) {
|
||||||
$ERROR('#Ж');
|
$ERROR('#Ж');
|
||||||
}
|
}
|
||||||
\u0417 = 1;
|
var \u0417 = 1;
|
||||||
if (З !== 1) {
|
if (З !== 1) {
|
||||||
$ERROR('#З');
|
$ERROR('#З');
|
||||||
}
|
}
|
||||||
\u0418 = 1;
|
var \u0418 = 1;
|
||||||
if (И !== 1) {
|
if (И !== 1) {
|
||||||
$ERROR('#И');
|
$ERROR('#И');
|
||||||
}
|
}
|
||||||
\u0419 = 1;
|
var \u0419 = 1;
|
||||||
if (Й !== 1) {
|
if (Й !== 1) {
|
||||||
$ERROR('#Й');
|
$ERROR('#Й');
|
||||||
}
|
}
|
||||||
\u041A = 1;
|
var \u041A = 1;
|
||||||
if (К !== 1) {
|
if (К !== 1) {
|
||||||
$ERROR('#К');
|
$ERROR('#К');
|
||||||
}
|
}
|
||||||
\u041B = 1;
|
var \u041B = 1;
|
||||||
if (Л !== 1) {
|
if (Л !== 1) {
|
||||||
$ERROR('#Л');
|
$ERROR('#Л');
|
||||||
}
|
}
|
||||||
\u041C = 1;
|
var \u041C = 1;
|
||||||
if (М !== 1) {
|
if (М !== 1) {
|
||||||
$ERROR('#М');
|
$ERROR('#М');
|
||||||
}
|
}
|
||||||
\u041D = 1;
|
var \u041D = 1;
|
||||||
if (Н !== 1) {
|
if (Н !== 1) {
|
||||||
$ERROR('#Н');
|
$ERROR('#Н');
|
||||||
}
|
}
|
||||||
\u041E = 1;
|
var \u041E = 1;
|
||||||
if (О !== 1) {
|
if (О !== 1) {
|
||||||
$ERROR('#О');
|
$ERROR('#О');
|
||||||
}
|
}
|
||||||
\u041F = 1;
|
var \u041F = 1;
|
||||||
if (П !== 1) {
|
if (П !== 1) {
|
||||||
$ERROR('#П');
|
$ERROR('#П');
|
||||||
}
|
}
|
||||||
\u0420 = 1;
|
var \u0420 = 1;
|
||||||
if (Р !== 1) {
|
if (Р !== 1) {
|
||||||
$ERROR('#Р');
|
$ERROR('#Р');
|
||||||
}
|
}
|
||||||
\u0421 = 1;
|
var \u0421 = 1;
|
||||||
if (С !== 1) {
|
if (С !== 1) {
|
||||||
$ERROR('#С');
|
$ERROR('#С');
|
||||||
}
|
}
|
||||||
\u0422 = 1;
|
var \u0422 = 1;
|
||||||
if (Т !== 1) {
|
if (Т !== 1) {
|
||||||
$ERROR('#Т');
|
$ERROR('#Т');
|
||||||
}
|
}
|
||||||
\u0423 = 1;
|
var \u0423 = 1;
|
||||||
if (У !== 1) {
|
if (У !== 1) {
|
||||||
$ERROR('#У');
|
$ERROR('#У');
|
||||||
}
|
}
|
||||||
\u0424 = 1;
|
var \u0424 = 1;
|
||||||
if (Ф !== 1) {
|
if (Ф !== 1) {
|
||||||
$ERROR('#Ф');
|
$ERROR('#Ф');
|
||||||
}
|
}
|
||||||
\u0425 = 1;
|
var \u0425 = 1;
|
||||||
if (Х !== 1) {
|
if (Х !== 1) {
|
||||||
$ERROR('#Х');
|
$ERROR('#Х');
|
||||||
}
|
}
|
||||||
\u0426 = 1;
|
var \u0426 = 1;
|
||||||
if (Ц !== 1) {
|
if (Ц !== 1) {
|
||||||
$ERROR('#Ц');
|
$ERROR('#Ц');
|
||||||
}
|
}
|
||||||
\u0427 = 1;
|
var \u0427 = 1;
|
||||||
if (Ч !== 1) {
|
if (Ч !== 1) {
|
||||||
$ERROR('#Ч');
|
$ERROR('#Ч');
|
||||||
}
|
}
|
||||||
\u0428 = 1;
|
var \u0428 = 1;
|
||||||
if (Ш !== 1) {
|
if (Ш !== 1) {
|
||||||
$ERROR('#Ш');
|
$ERROR('#Ш');
|
||||||
}
|
}
|
||||||
\u0429 = 1;
|
var \u0429 = 1;
|
||||||
if (Щ !== 1) {
|
if (Щ !== 1) {
|
||||||
$ERROR('#Щ');
|
$ERROR('#Щ');
|
||||||
}
|
}
|
||||||
\u042A = 1;
|
var \u042A = 1;
|
||||||
if (Ъ !== 1) {
|
if (Ъ !== 1) {
|
||||||
$ERROR('#Ъ');
|
$ERROR('#Ъ');
|
||||||
}
|
}
|
||||||
\u042B = 1;
|
var \u042B = 1;
|
||||||
if (Ы !== 1) {
|
if (Ы !== 1) {
|
||||||
$ERROR('#Ы');
|
$ERROR('#Ы');
|
||||||
}
|
}
|
||||||
\u042C = 1;
|
var \u042C = 1;
|
||||||
if (Ь !== 1) {
|
if (Ь !== 1) {
|
||||||
$ERROR('#Ь');
|
$ERROR('#Ь');
|
||||||
}
|
}
|
||||||
\u042D = 1;
|
var \u042D = 1;
|
||||||
if (Э !== 1) {
|
if (Э !== 1) {
|
||||||
$ERROR('#Э');
|
$ERROR('#Э');
|
||||||
}
|
}
|
||||||
\u042E = 1;
|
var \u042E = 1;
|
||||||
if (Ю !== 1) {
|
if (Ю !== 1) {
|
||||||
$ERROR('#Ю');
|
$ERROR('#Ю');
|
||||||
}
|
}
|
||||||
\u042F = 1;
|
var \u042F = 1;
|
||||||
if (Я !== 1) {
|
if (Я !== 1) {
|
||||||
$ERROR('#Я');
|
$ERROR('#Я');
|
||||||
}
|
}
|
||||||
\u0401 = 1;
|
var \u0401 = 1;
|
||||||
if (Ё !== 1) {
|
if (Ё !== 1) {
|
||||||
$ERROR('#Ё');
|
$ERROR('#Ё');
|
||||||
}
|
}
|
||||||
|
@ -10,135 +10,135 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#а-я
|
//CHECK#а-я
|
||||||
\u0430 = 1;
|
var \u0430 = 1;
|
||||||
if (а !== 1) {
|
if (а !== 1) {
|
||||||
$ERROR('#а');
|
$ERROR('#а');
|
||||||
}
|
}
|
||||||
\u0431 = 1;
|
var \u0431 = 1;
|
||||||
if (б !== 1) {
|
if (б !== 1) {
|
||||||
$ERROR('#б');
|
$ERROR('#б');
|
||||||
}
|
}
|
||||||
\u0432 = 1;
|
var \u0432 = 1;
|
||||||
if (в !== 1) {
|
if (в !== 1) {
|
||||||
$ERROR('#в');
|
$ERROR('#в');
|
||||||
}
|
}
|
||||||
\u0433 = 1;
|
var \u0433 = 1;
|
||||||
if (г !== 1) {
|
if (г !== 1) {
|
||||||
$ERROR('#г');
|
$ERROR('#г');
|
||||||
}
|
}
|
||||||
\u0434 = 1;
|
var \u0434 = 1;
|
||||||
if (д !== 1) {
|
if (д !== 1) {
|
||||||
$ERROR('#д');
|
$ERROR('#д');
|
||||||
}
|
}
|
||||||
\u0435 = 1;
|
var \u0435 = 1;
|
||||||
if (е !== 1) {
|
if (е !== 1) {
|
||||||
$ERROR('#е');
|
$ERROR('#е');
|
||||||
}
|
}
|
||||||
\u0436 = 1;
|
var \u0436 = 1;
|
||||||
if (ж !== 1) {
|
if (ж !== 1) {
|
||||||
$ERROR('#ж');
|
$ERROR('#ж');
|
||||||
}
|
}
|
||||||
\u0437 = 1;
|
var \u0437 = 1;
|
||||||
if (з !== 1) {
|
if (з !== 1) {
|
||||||
$ERROR('#з');
|
$ERROR('#з');
|
||||||
}
|
}
|
||||||
\u0438 = 1;
|
var \u0438 = 1;
|
||||||
if (и !== 1) {
|
if (и !== 1) {
|
||||||
$ERROR('#и');
|
$ERROR('#и');
|
||||||
}
|
}
|
||||||
\u0439 = 1;
|
var \u0439 = 1;
|
||||||
if (й !== 1) {
|
if (й !== 1) {
|
||||||
$ERROR('#й');
|
$ERROR('#й');
|
||||||
}
|
}
|
||||||
\u043A = 1;
|
var \u043A = 1;
|
||||||
if (к !== 1) {
|
if (к !== 1) {
|
||||||
$ERROR('#к');
|
$ERROR('#к');
|
||||||
}
|
}
|
||||||
\u043B = 1;
|
var \u043B = 1;
|
||||||
if (л !== 1) {
|
if (л !== 1) {
|
||||||
$ERROR('#л');
|
$ERROR('#л');
|
||||||
}
|
}
|
||||||
\u043C = 1;
|
var \u043C = 1;
|
||||||
if (м !== 1) {
|
if (м !== 1) {
|
||||||
$ERROR('#м');
|
$ERROR('#м');
|
||||||
}
|
}
|
||||||
\u043D = 1;
|
var \u043D = 1;
|
||||||
if (н !== 1) {
|
if (н !== 1) {
|
||||||
$ERROR('#н');
|
$ERROR('#н');
|
||||||
}
|
}
|
||||||
\u043E = 1;
|
var \u043E = 1;
|
||||||
if (о !== 1) {
|
if (о !== 1) {
|
||||||
$ERROR('#о');
|
$ERROR('#о');
|
||||||
}
|
}
|
||||||
\u043F = 1;
|
var \u043F = 1;
|
||||||
if (п !== 1) {
|
if (п !== 1) {
|
||||||
$ERROR('#п');
|
$ERROR('#п');
|
||||||
}
|
}
|
||||||
\u0440 = 1;
|
var \u0440 = 1;
|
||||||
if (р !== 1) {
|
if (р !== 1) {
|
||||||
$ERROR('#р');
|
$ERROR('#р');
|
||||||
}
|
}
|
||||||
\u0441 = 1;
|
var \u0441 = 1;
|
||||||
if (с !== 1) {
|
if (с !== 1) {
|
||||||
$ERROR('#с');
|
$ERROR('#с');
|
||||||
}
|
}
|
||||||
\u0442 = 1;
|
var \u0442 = 1;
|
||||||
if (т !== 1) {
|
if (т !== 1) {
|
||||||
$ERROR('#т');
|
$ERROR('#т');
|
||||||
}
|
}
|
||||||
\u0443 = 1;
|
var \u0443 = 1;
|
||||||
if (у !== 1) {
|
if (у !== 1) {
|
||||||
$ERROR('#у');
|
$ERROR('#у');
|
||||||
}
|
}
|
||||||
\u0444 = 1;
|
var \u0444 = 1;
|
||||||
if (ф !== 1) {
|
if (ф !== 1) {
|
||||||
$ERROR('#ф');
|
$ERROR('#ф');
|
||||||
}
|
}
|
||||||
\u0445 = 1;
|
var \u0445 = 1;
|
||||||
if (х !== 1) {
|
if (х !== 1) {
|
||||||
$ERROR('#х');
|
$ERROR('#х');
|
||||||
}
|
}
|
||||||
\u0446 = 1;
|
var \u0446 = 1;
|
||||||
if (ц !== 1) {
|
if (ц !== 1) {
|
||||||
$ERROR('#ц');
|
$ERROR('#ц');
|
||||||
}
|
}
|
||||||
\u0447 = 1;
|
var \u0447 = 1;
|
||||||
if (ч !== 1) {
|
if (ч !== 1) {
|
||||||
$ERROR('#ч');
|
$ERROR('#ч');
|
||||||
}
|
}
|
||||||
\u0448 = 1;
|
var \u0448 = 1;
|
||||||
if (ш !== 1) {
|
if (ш !== 1) {
|
||||||
$ERROR('#ш');
|
$ERROR('#ш');
|
||||||
}
|
}
|
||||||
\u0449 = 1;
|
var \u0449 = 1;
|
||||||
if (щ !== 1) {
|
if (щ !== 1) {
|
||||||
$ERROR('#щ');
|
$ERROR('#щ');
|
||||||
}
|
}
|
||||||
\u044A = 1;
|
var \u044A = 1;
|
||||||
if (ъ !== 1) {
|
if (ъ !== 1) {
|
||||||
$ERROR('#ъ');
|
$ERROR('#ъ');
|
||||||
}
|
}
|
||||||
\u044B = 1;
|
var \u044B = 1;
|
||||||
if (ы !== 1) {
|
if (ы !== 1) {
|
||||||
$ERROR('#ы');
|
$ERROR('#ы');
|
||||||
}
|
}
|
||||||
\u044C = 1;
|
var \u044C = 1;
|
||||||
if (ь !== 1) {
|
if (ь !== 1) {
|
||||||
$ERROR('#ь');
|
$ERROR('#ь');
|
||||||
}
|
}
|
||||||
\u044D = 1;
|
var \u044D = 1;
|
||||||
if (э !== 1) {
|
if (э !== 1) {
|
||||||
$ERROR('#э');
|
$ERROR('#э');
|
||||||
}
|
}
|
||||||
\u044E = 1;
|
var \u044E = 1;
|
||||||
if (ю !== 1) {
|
if (ю !== 1) {
|
||||||
$ERROR('#ю');
|
$ERROR('#ю');
|
||||||
}
|
}
|
||||||
\u044F = 1;
|
var \u044F = 1;
|
||||||
if (я !== 1) {
|
if (я !== 1) {
|
||||||
$ERROR('#я');
|
$ERROR('#я');
|
||||||
}
|
}
|
||||||
\u0451 = 1;
|
var \u0451 = 1;
|
||||||
if (ё !== 1) {
|
if (ё !== 1) {
|
||||||
$ERROR('#ё');
|
$ERROR('#ё');
|
||||||
}
|
}
|
||||||
|
@ -10,43 +10,43 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#0-9
|
//CHECK#0-9
|
||||||
$\u0030 = 0;
|
var $\u0030 = 0;
|
||||||
if ($0 !== 0) {
|
if ($0 !== 0) {
|
||||||
$ERROR('#0: $\\u0030 = 0; $0 === 0');
|
$ERROR('#0: $\\u0030 = 0; $0 === 0');
|
||||||
}
|
}
|
||||||
$\u0031 = 1;
|
var $\u0031 = 1;
|
||||||
if ($1 !== 1) {
|
if ($1 !== 1) {
|
||||||
$ERROR('#1: $\\u0031 = 1; $1 === 1');
|
$ERROR('#1: $\\u0031 = 1; $1 === 1');
|
||||||
}
|
}
|
||||||
$\u0032 = 2;
|
var $\u0032 = 2;
|
||||||
if ($2 !== 2) {
|
if ($2 !== 2) {
|
||||||
$ERROR('#2: $\\u0032 = 2; $2 === 2');
|
$ERROR('#2: $\\u0032 = 2; $2 === 2');
|
||||||
}
|
}
|
||||||
$\u0033 = 3;
|
var $\u0033 = 3;
|
||||||
if ($3 !== 3) {
|
if ($3 !== 3) {
|
||||||
$ERROR('#3: $\\u0033 = 3; $3 === 3');
|
$ERROR('#3: $\\u0033 = 3; $3 === 3');
|
||||||
}
|
}
|
||||||
$\u0034 = 4;
|
var $\u0034 = 4;
|
||||||
if ($4 !== 4) {
|
if ($4 !== 4) {
|
||||||
$ERROR('#4: $\\u0034 = 4; $4 === 4');
|
$ERROR('#4: $\\u0034 = 4; $4 === 4');
|
||||||
}
|
}
|
||||||
$\u0035 = 5;
|
var $\u0035 = 5;
|
||||||
if ($5 !== 5) {
|
if ($5 !== 5) {
|
||||||
$ERROR('#5: $\\u0035 = 5; $5 === 5');
|
$ERROR('#5: $\\u0035 = 5; $5 === 5');
|
||||||
}
|
}
|
||||||
$\u0036 = 6;
|
var $\u0036 = 6;
|
||||||
if ($6 !== 6) {
|
if ($6 !== 6) {
|
||||||
$ERROR('#6: $\\u0036 = 6; $6 === 6');
|
$ERROR('#6: $\\u0036 = 6; $6 === 6');
|
||||||
}
|
}
|
||||||
$\u0037 = 7;
|
var $\u0037 = 7;
|
||||||
if ($7 !== 7) {
|
if ($7 !== 7) {
|
||||||
$ERROR('#7: $\\u0037 = 7; $7 === 7');
|
$ERROR('#7: $\\u0037 = 7; $7 === 7');
|
||||||
}
|
}
|
||||||
$\u0038 = 8;
|
var $\u0038 = 8;
|
||||||
if ($8 !== 8) {
|
if ($8 !== 8) {
|
||||||
$ERROR('#8: $\\u0038 = 8; $8 === 8');
|
$ERROR('#8: $\\u0038 = 8; $8 === 8');
|
||||||
}
|
}
|
||||||
$\u0039 = 9;
|
var $\u0039 = 9;
|
||||||
if ($9 !== 9) {
|
if ($9 !== 9) {
|
||||||
$ERROR('#9: $\\u0039 = 9; $9 === 9');
|
$ERROR('#9: $\\u0039 = 9; $9 === 9');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#A-Z
|
//CHECK#A-Z
|
||||||
unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"];
|
var unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"];
|
||||||
character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#a-z
|
//CHECK#a-z
|
||||||
hex = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"];
|
var hex = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"];
|
||||||
character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
var character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (hex[index] !== character[index]) {
|
if (hex[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#А-Я
|
//CHECK#А-Я
|
||||||
unicode = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"];
|
var unicode = ["\u0410", "\u0411", "\u0412", "\u0413", "\u0414", "\u0415", "\u0416", "\u0417", "\u0418", "\u0419", "\u041A", "\u041B", "\u041C", "\u041D", "\u041E", "\u041F", "\u0420", "\u0421", "\u0422", "\u0423", "\u0424", "\u0425", "\u0426", "\u0427", "\u0428", "\u0429", "\u042A", "\u042B", "\u042C", "\u042D", "\u042E", "\u042F", "\u0401"];
|
||||||
character = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я", "Ё"];
|
var character = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я", "Ё"];
|
||||||
for (index = 0; index <= 32; index++) {
|
for (var index = 0; index <= 32; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#а-я
|
//CHECK#а-я
|
||||||
unicode = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"];
|
var unicode = ["\u0430", "\u0431", "\u0432", "\u0433", "\u0434", "\u0435", "\u0436", "\u0437", "\u0438", "\u0439", "\u043A", "\u043B", "\u043C", "\u043D", "\u043E", "\u043F", "\u0440", "\u0441", "\u0442", "\u0443", "\u0444", "\u0445", "\u0446", "\u0447", "\u0448", "\u0449", "\u044A", "\u044B", "\u044C", "\u044D", "\u044E", "\u044F", "\u0451"];
|
||||||
character = ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"];
|
var character = ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё"];
|
||||||
for (index = 0; index <= 32; index++) {
|
for (var index = 0; index <= 32; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#0-9
|
//CHECK#0-9
|
||||||
unicode = ["\u0030", "\u0031", "\u0032", "\u0033", "\u0034", "\u0035", "\u0036", "\u0037", "\u0038", "\u0039"];
|
var unicode = ["\u0030", "\u0031", "\u0032", "\u0033", "\u0034", "\u0035", "\u0036", "\u0037", "\u0038", "\u0039"];
|
||||||
character = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
var character = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
||||||
for (index = 0; index <= 9; index++) {
|
for (var index = 0; index <= 9; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#A-Z
|
//CHECK#A-Z
|
||||||
CharacterCode = [0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005A];
|
var CharacterCode = [0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005A];
|
||||||
NonEscapeCharacter = ["\A", "\B", "\C", "\D", "\E", "\F", "\G", "\H", "\I", "\J", "\K", "\L", "\M", "\N", "\O", "\P", "\Q", "\R", "\S", "\T", "\U", "\V", "\W", "\X", "\Y", "\Z"];
|
var NonEscapeCharacter = ["\A", "\B", "\C", "\D", "\E", "\F", "\G", "\H", "\I", "\J", "\K", "\L", "\M", "\N", "\O", "\P", "\Q", "\R", "\S", "\T", "\U", "\V", "\W", "\X", "\Y", "\Z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#a-z without b, f, n, r, t, v, x, u
|
//CHECK#a-z without b, f, n, r, t, v, x, u
|
||||||
CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006F, 0x0070, 0x0071, 0x0073, 0x0077, 0x0079, 0x007A];
|
var CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006F, 0x0070, 0x0071, 0x0073, 0x0077, 0x0079, 0x007A];
|
||||||
NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"];
|
var NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"];
|
||||||
for (index = 0; index <= 17; index++) {
|
for (var index = 0; index <= 17; index++) {
|
||||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#А-Я
|
//CHECK#А-Я
|
||||||
CharacterCode = [0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, 0x0401];
|
var CharacterCode = [0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, 0x0401];
|
||||||
NonEscapeCharacter = ["\А", "\Б", "\В", "\Г", "\Д", "\Е", "\Ж", "\З", "\И", "\Й", "\К", "\Л", "\М", "\Н", "\О", "\П", "\Р", "\С", "\Т", "\У", "\Ф", "\Х", "\Ц", "\Ч", "\Ш", "\Щ", "\Ъ", "\Ы", "\Ь", "\Э", "\Ю", "\Я", "\Ё"];
|
var NonEscapeCharacter = ["\А", "\Б", "\В", "\Г", "\Д", "\Е", "\Ж", "\З", "\И", "\Й", "\К", "\Л", "\М", "\Н", "\О", "\П", "\Р", "\С", "\Т", "\У", "\Ф", "\Х", "\Ц", "\Ч", "\Ш", "\Щ", "\Ъ", "\Ы", "\Ь", "\Э", "\Ю", "\Я", "\Ё"];
|
||||||
for (index = 0; index <= 32; index++) {
|
for (var index = 0; index <= 32; index++) {
|
||||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#а-я
|
//CHECK#а-я
|
||||||
CharacterCode = [0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, 0x0451];
|
var CharacterCode = [0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, 0x0451];
|
||||||
NonEscapeCharacter = ["\а", "\б", "\в", "\г", "\д", "\е", "\ж", "\з", "\и", "\й", "\к", "\л", "\м", "\н", "\о", "\п", "\р", "\с", "\т", "\у", "\ф", "\х", "\ц", "\ч", "\ш", "\щ", "\ъ", "\ы", "\ь", "\э", "\ю", "\я", "\ё"];
|
var NonEscapeCharacter = ["\а", "\б", "\в", "\г", "\д", "\е", "\ж", "\з", "\и", "\й", "\к", "\л", "\м", "\н", "\о", "\п", "\р", "\с", "\т", "\у", "\ф", "\х", "\ц", "\ч", "\ш", "\щ", "\ъ", "\ы", "\ь", "\э", "\ю", "\я", "\ё"];
|
||||||
for (index = 0; index <= 32; index++) {
|
for (var index = 0; index <= 32; index++) {
|
||||||
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) {
|
||||||
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
$ERROR('#' + NonEscapeCharacter[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -11,27 +11,27 @@
|
|||||||
|
|
||||||
//CHECK#bfnrtv
|
//CHECK#bfnrtv
|
||||||
if ("b" === "\b") {
|
if ("b" === "\b") {
|
||||||
$ERROR('#b')
|
$ERROR('#b');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("f" === "\f") {
|
if ("f" === "\f") {
|
||||||
$ERROR('#f')
|
$ERROR('#f');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("n" === "\n") {
|
if ("n" === "\n") {
|
||||||
$ERROR('#n')
|
$ERROR('#n');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("r" === "\r") {
|
if ("r" === "\r") {
|
||||||
$ERROR('#r')
|
$ERROR('#r');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("t" === "\t") {
|
if ("t" === "\t") {
|
||||||
$ERROR('#t')
|
$ERROR('#t');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("v" === "\v") {
|
if ("v" === "\v") {
|
||||||
$ERROR('#v')
|
$ERROR('#v');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#A-Z
|
//CHECK#A-Z
|
||||||
hex = ["\x41", "\x42", "\x43", "\x44", "\x45", "\x46", "\x47", "\x48", "\x49", "\x4A", "\x4B", "\x4C", "\x4D", "\x4E", "\x4F", "\x50", "\x51", "\x52", "\x53", "\x54", "\x55", "\x56", "\x57", "\x58", "\x59", "\x5A"];
|
var hex = ["\x41", "\x42", "\x43", "\x44", "\x45", "\x46", "\x47", "\x48", "\x49", "\x4A", "\x4B", "\x4C", "\x4D", "\x4E", "\x4F", "\x50", "\x51", "\x52", "\x53", "\x54", "\x55", "\x56", "\x57", "\x58", "\x59", "\x5A"];
|
||||||
character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (hex[index] !== character[index]) {
|
if (hex[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#a-z
|
//CHECK#a-z
|
||||||
hex = ["\x61", "\x62", "\x63", "\x64", "\x65", "\x66", "\x67", "\x68", "\x69", "\x6A", "\x6B", "\x6C", "\x6D", "\x6E", "\x6F", "\x70", "\x71", "\x72", "\x73", "\x74", "\x75", "\x76", "\x77", "\x78", "\x79", "\x7A"];
|
var hex = ["\x61", "\x62", "\x63", "\x64", "\x65", "\x66", "\x67", "\x68", "\x69", "\x6A", "\x6B", "\x6C", "\x6D", "\x6E", "\x6F", "\x70", "\x71", "\x72", "\x73", "\x74", "\x75", "\x76", "\x77", "\x78", "\x79", "\x7A"];
|
||||||
character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
var character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (hex[index] !== character[index]) {
|
if (hex[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#A-Z
|
//CHECK#A-Z
|
||||||
unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"];
|
var unicode = ["\u0041", "\u0042", "\u0043", "\u0044", "\u0045", "\u0046", "\u0047", "\u0048", "\u0049", "\u004A", "\u004B", "\u004C", "\u004D", "\u004E", "\u004F", "\u0050", "\u0051", "\u0052", "\u0053", "\u0054", "\u0055", "\u0056", "\u0057", "\u0058", "\u0059", "\u005A"];
|
||||||
character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
var character = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#a-z
|
//CHECK#a-z
|
||||||
unicode = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"];
|
var unicode = ["\u0061", "\u0062", "\u0063", "\u0064", "\u0065", "\u0066", "\u0067", "\u0068", "\u0069", "\u006A", "\u006B", "\u006C", "\u006D", "\u006E", "\u006F", "\u0070", "\u0071", "\u0072", "\u0073", "\u0074", "\u0075", "\u0076", "\u0077", "\u0078", "\u0079", "\u007A"];
|
||||||
character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
var character = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||||
for (index = 0; index <= 25; index++) {
|
for (var index = 0; index <= 25; index++) {
|
||||||
if (unicode[index] !== character[index]) {
|
if (unicode[index] !== character[index]) {
|
||||||
$ERROR('#' + character[index] + ' ');
|
$ERROR('#' + character[index] + ' ');
|
||||||
}
|
}
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK
|
//CHECK
|
||||||
errorCount = 0;
|
var errorCount = 0;
|
||||||
count = 0;
|
var count = 0;
|
||||||
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
||||||
for (i1 = 0; i1 < 16; i1++) {
|
for (var i1 = 0; i1 < 16; i1++) {
|
||||||
for (i2 = 0; i2 < 16; i2++) {
|
for (var i2 = 0; i2 < 16; i2++) {
|
||||||
for (i3 = 0; i3 < 16; i3++) {
|
for (var i3 = 0; i3 < 16; i3++) {
|
||||||
for (i4 = 0; i4 < 16; i4++) {
|
for (var i4 = 0; i4 < 16; i4++) {
|
||||||
try {
|
try {
|
||||||
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
||||||
var Elimination =
|
var Elimination =
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK
|
//CHECK
|
||||||
errorCount = 0;
|
var errorCount = 0;
|
||||||
count = 0;
|
var count = 0;
|
||||||
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
||||||
for (i1 = 0; i1 < 16; i1++) {
|
for (var i1 = 0; i1 < 16; i1++) {
|
||||||
for (i2 = 0; i2 < 16; i2++) {
|
for (var i2 = 0; i2 < 16; i2++) {
|
||||||
for (i3 = 0; i3 < 16; i3++) {
|
for (var i3 = 0; i3 < 16; i3++) {
|
||||||
for (i4 = 0; i4 < 16; i4++) {
|
for (var i4 = 0; i4 < 16; i4++) {
|
||||||
try {
|
try {
|
||||||
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
||||||
var Elimination =
|
var Elimination =
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK
|
//CHECK
|
||||||
errorCount = 0;
|
var errorCount = 0;
|
||||||
count = 0;
|
var count = 0;
|
||||||
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
var hex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
|
||||||
for (i1 = 0; i1 < 16; i1++) {
|
for (var i1 = 0; i1 < 16; i1++) {
|
||||||
for (i2 = 0; i2 < 16; i2++) {
|
for (var i2 = 0; i2 < 16; i2++) {
|
||||||
for (i3 = 0; i3 < 16; i3++) {
|
for (var i3 = 0; i3 < 16; i3++) {
|
||||||
for (i4 = 0; i4 < 16; i4++) {
|
for (var i4 = 0; i4 < 16; i4++) {
|
||||||
try {
|
try {
|
||||||
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
var uu = hex[i1] + hex[i2] + hex[i3] + hex[i4];
|
||||||
var Elimination =
|
var Elimination =
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) x = 1
|
if (false) x = 1
|
||||||
if (x !== 0) {
|
if (x !== 0) {
|
||||||
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) {x = 1} else {x = -1}
|
if (false) {x = 1} else {x = -1}
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) {{x = 1};}
|
if (false) {{x = 1};}
|
||||||
else x = -1
|
else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false)
|
if (false)
|
||||||
x = 1
|
x = 1
|
||||||
if (x !== 0) {
|
if (x !== 0) {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false);
|
if (false);
|
||||||
x = 1
|
x = 1
|
||||||
if (x !== 1) {
|
if (x !== 1) {
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) x = 1 else x = -1
|
if (false) x = 1 else x = -1
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) x = 1; else x = -1
|
if (false) x = 1; else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
$ERROR('#1: Check If Statement for automatic semicolon insertion');
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) x = 1
|
if (false) x = 1
|
||||||
else x = -1
|
else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) x = 1;
|
if (false) x = 1;
|
||||||
else x = -1
|
else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) {x = 1};
|
if (false) {x = 1};
|
||||||
else x = -1
|
else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = 0;
|
var x = 0;
|
||||||
if (false) {x = 1}
|
if (false) {x = 1}
|
||||||
else x = -1
|
else x = -1
|
||||||
if (x !== -1) {
|
if (x !== -1) {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var x=0, y=0;
|
var x=0, y=0;
|
||||||
z=
|
var z=
|
||||||
x
|
x
|
||||||
++
|
++
|
||||||
++
|
++
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var x=0, y=0;
|
var x=0, y=0;
|
||||||
z=
|
var z=
|
||||||
x
|
x
|
||||||
+
|
+
|
||||||
++
|
++
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var x=1, y=1;
|
var x=1, y=1;
|
||||||
z=
|
var z=
|
||||||
x
|
x
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
x = null;
|
var x = null;
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.5_The_Number_Type/S8.5_A9.js
|
* @path 08_Types/8.5_The_Number_Type/S8.5_A9.js
|
||||||
* @description Try alter globally defined variable NaN
|
* @description Try alter globally defined variable NaN
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Number.NaN = 1;
|
Number.NaN = 1;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js
|
* @path 08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.js
|
||||||
* @description Try change Math.E property
|
* @description Try change Math.E property
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var __e = Math.E;
|
var __e = Math.E;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js
|
* @path 08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.js
|
||||||
* @description Try to delete Number.NaN
|
* @description Try to delete Number.NaN
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js
|
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.js
|
||||||
* @description Try put other value for Math.E property
|
* @description Try put other value for Math.E property
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var __e = Math.E;
|
var __e = Math.E;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js
|
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.js
|
||||||
* @description Try to delete Math.E, that has the DontDelete attribute
|
* @description Try to delete Math.E, that has the DontDelete attribute
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
* @section 8.6.2, 15.2.4
|
* @section 8.6.2, 15.2.4
|
||||||
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js
|
* @path 08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js
|
||||||
* @description Check visibility properties of the child object for the purposes of get access, but not for put access
|
* @description Check visibility properties of the child object for the purposes of get access, but not for put access
|
||||||
* @strict_only
|
|
||||||
* @strict_mode_negative
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//Establish foo object
|
//Establish foo object
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
this.count=0;
|
this.count=0;
|
||||||
|
|
||||||
screen = {touch:function(){count++}};
|
var screen = {touch:function(){count++}};
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
screen.touch();
|
screen.touch();
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
this.position=0;
|
this.position=0;
|
||||||
seat = {};
|
var seat = {};
|
||||||
seat['move']=function(){position++};
|
seat['move']=function(){position++};
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
* as knock=function(){count++}
|
* as knock=function(){count++}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
count=0;
|
var count=0;
|
||||||
knock=function(){count++};
|
var knock=function(){count++};
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
knock();
|
knock();
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* as this['beep']=function(){__count++}
|
* as this['beep']=function(){__count++}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
__count=0;
|
var __count=0;
|
||||||
|
|
||||||
this["beep"]=function(){__count++};
|
this["beep"]=function(){__count++};
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////
|
||||||
// CHECK#1
|
// CHECK#1
|
||||||
obj = {bar:true, some:1, foo:"a"};
|
var obj = {bar:true, some:1, foo:"a"};
|
||||||
|
|
||||||
count=0;
|
var count=0;
|
||||||
|
|
||||||
for (property in obj) count++;
|
for (property in obj) count++;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ if (count !== 3){
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////
|
||||||
// CHECK#2
|
// CHECK#2
|
||||||
obj_ = {bar:true};
|
var obj_ = {bar:true};
|
||||||
obj_.some = 1;
|
obj_.some = 1;
|
||||||
obj_.foo = "a";
|
obj_.foo = "a";
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ if (count !== 3){
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////
|
||||||
// CHECK#3
|
// CHECK#3
|
||||||
obj__ = new Object();
|
var obj__ = new Object();
|
||||||
obj__.bar = true;
|
obj__.bar = true;
|
||||||
obj__.some = 1;
|
obj__.some = 1;
|
||||||
obj__.foo = "a";
|
obj__.foo = "a";
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
* @section 8.7.1
|
* @section 8.7.1
|
||||||
* @path 08_Types/8.7_The_Reference_Type/S8.7.1_A2.js
|
* @path 08_Types/8.7_The_Reference_Type/S8.7.1_A2.js
|
||||||
* @description Try to delete y, where y is var y=1
|
* @description Try to delete y, where y is var y=1
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var y = 1;
|
var y = 1;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js
|
* @path 08_Types/8.7_The_Reference_Type/S8.7_A5_T1.js
|
||||||
* @description Delete referenced object, var __ref = obj
|
* @description Delete referenced object, var __ref = obj
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @path 08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js
|
* @path 08_Types/8.7_The_Reference_Type/S8.7_A5_T2.js
|
||||||
* @description Delete referenced object, __ref = obj
|
* @description Delete referenced object, __ref = obj
|
||||||
* @strict_only
|
* @strict_only
|
||||||
* @strict_mode_negative
|
* @negative
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
* @section 9.9
|
* @section 9.9
|
||||||
* @path 09_Type_Conversion/9.9_ToObject/S9.9_A1.js
|
* @path 09_Type_Conversion/9.9_ToObject/S9.9_A1.js
|
||||||
* @description Trying to convert undefined to Object
|
* @description Trying to convert undefined to Object
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// CHECK#1
|
// CHECK#1
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
* @section 9.9
|
* @section 9.9
|
||||||
* @path 09_Type_Conversion/9.9_ToObject/S9.9_A2.js
|
* @path 09_Type_Conversion/9.9_ToObject/S9.9_A2.js
|
||||||
* @description Trying to convert null to Object
|
* @description Trying to convert null to Object
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// CHECK#1
|
// CHECK#1
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* @section 10.1.3
|
* @section 10.1.3
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js
|
||||||
* @description Creating functions initialized with two or more formal parameters, which have the same name
|
* @description Creating functions initialized with two or more formal parameters, which have the same name
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
* @section 10.1.3
|
* @section 10.1.3
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js
|
||||||
* @description Checking existence of a function with passed parameter
|
* @description Checking existence of a function with passed parameter
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* @section 10.1.4
|
* @section 10.1.4
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js
|
||||||
* @description Checking scope chain containing function declarations and "with"
|
* @description Checking scope chain containing function declarations and "with"
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* @section 10.1.4
|
* @section 10.1.4
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js
|
||||||
* @description Checking scope chain containing function declarations and "with"
|
* @description Checking scope chain containing function declarations and "with"
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* @section 10.1.4
|
* @section 10.1.4
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js
|
||||||
* @description Checking scope chain containing function declarations and "with"
|
* @description Checking scope chain containing function declarations and "with"
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* @section 10.1.4
|
* @section 10.1.4
|
||||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js
|
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js
|
||||||
* @description Checking scope chain containing function declarations and "with"
|
* @description Checking scope chain containing function declarations and "with"
|
||||||
|
* @non_strict_only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user