OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
6 # are met: | 6 # are met: |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 PASS compileAndSerialize('a && b && c') is 'a && b && c' | 227 PASS compileAndSerialize('a && b && c') is 'a && b && c' |
228 PASS compileAndSerialize('(a && b) && c') is '(a && b) && c' | 228 PASS compileAndSerialize('(a && b) && c') is '(a && b) && c' |
229 PASS compileAndSerialize('a && (b && c)') is 'a && (b && c)' | 229 PASS compileAndSerialize('a && (b && c)') is 'a && (b && c)' |
230 PASS compileAndSerialize('a && b || c') is 'a && b || c' | 230 PASS compileAndSerialize('a && b || c') is 'a && b || c' |
231 PASS compileAndSerialize('(a && b) || c') is '(a && b) || c' | 231 PASS compileAndSerialize('(a && b) || c') is '(a && b) || c' |
232 PASS compileAndSerialize('a && (b || c)') is 'a && (b || c)' | 232 PASS compileAndSerialize('a && (b || c)') is 'a && (b || c)' |
233 PASS compileAndSerialize('a || b || c') is 'a || b || c' | 233 PASS compileAndSerialize('a || b || c') is 'a || b || c' |
234 PASS compileAndSerialize('(a || b) || c') is '(a || b) || c' | 234 PASS compileAndSerialize('(a || b) || c') is '(a || b) || c' |
235 PASS compileAndSerialize('a || (b || c)') is 'a || (b || c)' | 235 PASS compileAndSerialize('a || (b || c)') is 'a || (b || c)' |
236 PASS compileAndSerialize('a = b = c') is 'a = b = c' | 236 PASS compileAndSerialize('a = b = c') is 'a = b = c' |
237 PASS compileAndSerialize('(a = b) = c') is '(a = b) = c' | 237 FAIL compileAndSerialize('(a = b) = c') should be (a = b) = c. Threw exception R
eferenceError: Invalid left-hand side in assignment |
238 PASS compileAndSerialize('a = (b = c)') is 'a = (b = c)' | 238 PASS compileAndSerialize('a = (b = c)') is 'a = (b = c)' |
239 PASS compileAndSerialize('a = b + c') is 'a = b + c' | 239 PASS compileAndSerialize('a = b + c') is 'a = b + c' |
240 PASS compileAndSerialize('(a = b) + c') is '(a = b) + c' | 240 PASS compileAndSerialize('(a = b) + c') is '(a = b) + c' |
241 PASS compileAndSerialize('a = (b + c)') is 'a = (b + c)' | 241 PASS compileAndSerialize('a = (b + c)') is 'a = (b + c)' |
242 FAIL compileAndSerialize('a + b = c') should throw an exception. Was a + b = c. | 242 PASS compileAndSerialize('a + b = c') threw exception ReferenceError: Invalid le
ft-hand side in assignment. |
243 PASS compileAndSerialize('(a + b) = c') is '(a + b) = c' | 243 FAIL compileAndSerialize('(a + b) = c') should be (a + b) = c. Threw exception R
eferenceError: Invalid left-hand side in assignment |
244 PASS compileAndSerialize('a + (b = c)') is 'a + (b = c)' | 244 PASS compileAndSerialize('a + (b = c)') is 'a + (b = c)' |
245 PASS compileAndSerialize('a *= b *= c') is 'a *= b *= c' | 245 PASS compileAndSerialize('a *= b *= c') is 'a *= b *= c' |
246 PASS compileAndSerialize('(a *= b) *= c') is '(a *= b) *= c' | 246 FAIL compileAndSerialize('(a *= b) *= c') should be (a *= b) *= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
247 PASS compileAndSerialize('a *= (b *= c)') is 'a *= (b *= c)' | 247 PASS compileAndSerialize('a *= (b *= c)') is 'a *= (b *= c)' |
248 PASS compileAndSerialize('a = b *= c') is 'a = b *= c' | 248 PASS compileAndSerialize('a = b *= c') is 'a = b *= c' |
249 PASS compileAndSerialize('(a = b) *= c') is '(a = b) *= c' | 249 FAIL compileAndSerialize('(a = b) *= c') should be (a = b) *= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
250 PASS compileAndSerialize('a = (b *= c)') is 'a = (b *= c)' | 250 PASS compileAndSerialize('a = (b *= c)') is 'a = (b *= c)' |
251 PASS compileAndSerialize('a *= b + c') is 'a *= b + c' | 251 PASS compileAndSerialize('a *= b + c') is 'a *= b + c' |
252 PASS compileAndSerialize('(a *= b) + c') is '(a *= b) + c' | 252 PASS compileAndSerialize('(a *= b) + c') is '(a *= b) + c' |
253 PASS compileAndSerialize('a *= (b + c)') is 'a *= (b + c)' | 253 PASS compileAndSerialize('a *= (b + c)') is 'a *= (b + c)' |
254 FAIL compileAndSerialize('a + b *= c') should throw an exception. Was a + b *= c
. | 254 PASS compileAndSerialize('a + b *= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
255 PASS compileAndSerialize('(a + b) *= c') is '(a + b) *= c' | 255 FAIL compileAndSerialize('(a + b) *= c') should be (a + b) *= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
256 PASS compileAndSerialize('a + (b *= c)') is 'a + (b *= c)' | 256 PASS compileAndSerialize('a + (b *= c)') is 'a + (b *= c)' |
257 PASS compileAndSerialize('a /= b /= c') is 'a /= b /= c' | 257 PASS compileAndSerialize('a /= b /= c') is 'a /= b /= c' |
258 PASS compileAndSerialize('(a /= b) /= c') is '(a /= b) /= c' | 258 FAIL compileAndSerialize('(a /= b) /= c') should be (a /= b) /= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
259 PASS compileAndSerialize('a /= (b /= c)') is 'a /= (b /= c)' | 259 PASS compileAndSerialize('a /= (b /= c)') is 'a /= (b /= c)' |
260 PASS compileAndSerialize('a = b /= c') is 'a = b /= c' | 260 PASS compileAndSerialize('a = b /= c') is 'a = b /= c' |
261 PASS compileAndSerialize('(a = b) /= c') is '(a = b) /= c' | 261 FAIL compileAndSerialize('(a = b) /= c') should be (a = b) /= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
262 PASS compileAndSerialize('a = (b /= c)') is 'a = (b /= c)' | 262 PASS compileAndSerialize('a = (b /= c)') is 'a = (b /= c)' |
263 PASS compileAndSerialize('a /= b + c') is 'a /= b + c' | 263 PASS compileAndSerialize('a /= b + c') is 'a /= b + c' |
264 PASS compileAndSerialize('(a /= b) + c') is '(a /= b) + c' | 264 PASS compileAndSerialize('(a /= b) + c') is '(a /= b) + c' |
265 PASS compileAndSerialize('a /= (b + c)') is 'a /= (b + c)' | 265 PASS compileAndSerialize('a /= (b + c)') is 'a /= (b + c)' |
266 FAIL compileAndSerialize('a + b /= c') should throw an exception. Was a + b /= c
. | 266 PASS compileAndSerialize('a + b /= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
267 PASS compileAndSerialize('(a + b) /= c') is '(a + b) /= c' | 267 FAIL compileAndSerialize('(a + b) /= c') should be (a + b) /= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
268 PASS compileAndSerialize('a + (b /= c)') is 'a + (b /= c)' | 268 PASS compileAndSerialize('a + (b /= c)') is 'a + (b /= c)' |
269 PASS compileAndSerialize('a %= b %= c') is 'a %= b %= c' | 269 PASS compileAndSerialize('a %= b %= c') is 'a %= b %= c' |
270 PASS compileAndSerialize('(a %= b) %= c') is '(a %= b) %= c' | 270 FAIL compileAndSerialize('(a %= b) %= c') should be (a %= b) %= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
271 PASS compileAndSerialize('a %= (b %= c)') is 'a %= (b %= c)' | 271 PASS compileAndSerialize('a %= (b %= c)') is 'a %= (b %= c)' |
272 PASS compileAndSerialize('a = b %= c') is 'a = b %= c' | 272 PASS compileAndSerialize('a = b %= c') is 'a = b %= c' |
273 PASS compileAndSerialize('(a = b) %= c') is '(a = b) %= c' | 273 FAIL compileAndSerialize('(a = b) %= c') should be (a = b) %= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
274 PASS compileAndSerialize('a = (b %= c)') is 'a = (b %= c)' | 274 PASS compileAndSerialize('a = (b %= c)') is 'a = (b %= c)' |
275 PASS compileAndSerialize('a %= b + c') is 'a %= b + c' | 275 PASS compileAndSerialize('a %= b + c') is 'a %= b + c' |
276 PASS compileAndSerialize('(a %= b) + c') is '(a %= b) + c' | 276 PASS compileAndSerialize('(a %= b) + c') is '(a %= b) + c' |
277 PASS compileAndSerialize('a %= (b + c)') is 'a %= (b + c)' | 277 PASS compileAndSerialize('a %= (b + c)') is 'a %= (b + c)' |
278 FAIL compileAndSerialize('a + b %= c') should throw an exception. Was a + b %= c
. | 278 PASS compileAndSerialize('a + b %= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
279 PASS compileAndSerialize('(a + b) %= c') is '(a + b) %= c' | 279 FAIL compileAndSerialize('(a + b) %= c') should be (a + b) %= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
280 PASS compileAndSerialize('a + (b %= c)') is 'a + (b %= c)' | 280 PASS compileAndSerialize('a + (b %= c)') is 'a + (b %= c)' |
281 PASS compileAndSerialize('a += b += c') is 'a += b += c' | 281 PASS compileAndSerialize('a += b += c') is 'a += b += c' |
282 PASS compileAndSerialize('(a += b) += c') is '(a += b) += c' | 282 FAIL compileAndSerialize('(a += b) += c') should be (a += b) += c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
283 PASS compileAndSerialize('a += (b += c)') is 'a += (b += c)' | 283 PASS compileAndSerialize('a += (b += c)') is 'a += (b += c)' |
284 PASS compileAndSerialize('a = b += c') is 'a = b += c' | 284 PASS compileAndSerialize('a = b += c') is 'a = b += c' |
285 PASS compileAndSerialize('(a = b) += c') is '(a = b) += c' | 285 FAIL compileAndSerialize('(a = b) += c') should be (a = b) += c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
286 PASS compileAndSerialize('a = (b += c)') is 'a = (b += c)' | 286 PASS compileAndSerialize('a = (b += c)') is 'a = (b += c)' |
287 PASS compileAndSerialize('a += b + c') is 'a += b + c' | 287 PASS compileAndSerialize('a += b + c') is 'a += b + c' |
288 PASS compileAndSerialize('(a += b) + c') is '(a += b) + c' | 288 PASS compileAndSerialize('(a += b) + c') is '(a += b) + c' |
289 PASS compileAndSerialize('a += (b + c)') is 'a += (b + c)' | 289 PASS compileAndSerialize('a += (b + c)') is 'a += (b + c)' |
290 FAIL compileAndSerialize('a + b += c') should throw an exception. Was a + b += c
. | 290 PASS compileAndSerialize('a + b += c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
291 PASS compileAndSerialize('(a + b) += c') is '(a + b) += c' | 291 FAIL compileAndSerialize('(a + b) += c') should be (a + b) += c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
292 PASS compileAndSerialize('a + (b += c)') is 'a + (b += c)' | 292 PASS compileAndSerialize('a + (b += c)') is 'a + (b += c)' |
293 PASS compileAndSerialize('a -= b -= c') is 'a -= b -= c' | 293 PASS compileAndSerialize('a -= b -= c') is 'a -= b -= c' |
294 PASS compileAndSerialize('(a -= b) -= c') is '(a -= b) -= c' | 294 FAIL compileAndSerialize('(a -= b) -= c') should be (a -= b) -= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
295 PASS compileAndSerialize('a -= (b -= c)') is 'a -= (b -= c)' | 295 PASS compileAndSerialize('a -= (b -= c)') is 'a -= (b -= c)' |
296 PASS compileAndSerialize('a = b -= c') is 'a = b -= c' | 296 PASS compileAndSerialize('a = b -= c') is 'a = b -= c' |
297 PASS compileAndSerialize('(a = b) -= c') is '(a = b) -= c' | 297 FAIL compileAndSerialize('(a = b) -= c') should be (a = b) -= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
298 PASS compileAndSerialize('a = (b -= c)') is 'a = (b -= c)' | 298 PASS compileAndSerialize('a = (b -= c)') is 'a = (b -= c)' |
299 PASS compileAndSerialize('a -= b + c') is 'a -= b + c' | 299 PASS compileAndSerialize('a -= b + c') is 'a -= b + c' |
300 PASS compileAndSerialize('(a -= b) + c') is '(a -= b) + c' | 300 PASS compileAndSerialize('(a -= b) + c') is '(a -= b) + c' |
301 PASS compileAndSerialize('a -= (b + c)') is 'a -= (b + c)' | 301 PASS compileAndSerialize('a -= (b + c)') is 'a -= (b + c)' |
302 FAIL compileAndSerialize('a + b -= c') should throw an exception. Was a + b -= c
. | 302 PASS compileAndSerialize('a + b -= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
303 PASS compileAndSerialize('(a + b) -= c') is '(a + b) -= c' | 303 FAIL compileAndSerialize('(a + b) -= c') should be (a + b) -= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
304 PASS compileAndSerialize('a + (b -= c)') is 'a + (b -= c)' | 304 PASS compileAndSerialize('a + (b -= c)') is 'a + (b -= c)' |
305 PASS compileAndSerialize('a <<= b <<= c') is 'a <<= b <<= c' | 305 PASS compileAndSerialize('a <<= b <<= c') is 'a <<= b <<= c' |
306 PASS compileAndSerialize('(a <<= b) <<= c') is '(a <<= b) <<= c' | 306 FAIL compileAndSerialize('(a <<= b) <<= c') should be (a <<= b) <<= c. Threw exc
eption ReferenceError: Invalid left-hand side in assignment |
307 PASS compileAndSerialize('a <<= (b <<= c)') is 'a <<= (b <<= c)' | 307 PASS compileAndSerialize('a <<= (b <<= c)') is 'a <<= (b <<= c)' |
308 PASS compileAndSerialize('a = b <<= c') is 'a = b <<= c' | 308 PASS compileAndSerialize('a = b <<= c') is 'a = b <<= c' |
309 PASS compileAndSerialize('(a = b) <<= c') is '(a = b) <<= c' | 309 FAIL compileAndSerialize('(a = b) <<= c') should be (a = b) <<= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
310 PASS compileAndSerialize('a = (b <<= c)') is 'a = (b <<= c)' | 310 PASS compileAndSerialize('a = (b <<= c)') is 'a = (b <<= c)' |
311 PASS compileAndSerialize('a <<= b + c') is 'a <<= b + c' | 311 PASS compileAndSerialize('a <<= b + c') is 'a <<= b + c' |
312 PASS compileAndSerialize('(a <<= b) + c') is '(a <<= b) + c' | 312 PASS compileAndSerialize('(a <<= b) + c') is '(a <<= b) + c' |
313 PASS compileAndSerialize('a <<= (b + c)') is 'a <<= (b + c)' | 313 PASS compileAndSerialize('a <<= (b + c)') is 'a <<= (b + c)' |
314 FAIL compileAndSerialize('a + b <<= c') should throw an exception. Was a + b <<=
c. | 314 PASS compileAndSerialize('a + b <<= c') threw exception ReferenceError: Invalid
left-hand side in assignment. |
315 PASS compileAndSerialize('(a + b) <<= c') is '(a + b) <<= c' | 315 FAIL compileAndSerialize('(a + b) <<= c') should be (a + b) <<= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
316 PASS compileAndSerialize('a + (b <<= c)') is 'a + (b <<= c)' | 316 PASS compileAndSerialize('a + (b <<= c)') is 'a + (b <<= c)' |
317 PASS compileAndSerialize('a >>= b >>= c') is 'a >>= b >>= c' | 317 PASS compileAndSerialize('a >>= b >>= c') is 'a >>= b >>= c' |
318 PASS compileAndSerialize('(a >>= b) >>= c') is '(a >>= b) >>= c' | 318 FAIL compileAndSerialize('(a >>= b) >>= c') should be (a >>= b) >>= c. Threw exc
eption ReferenceError: Invalid left-hand side in assignment |
319 PASS compileAndSerialize('a >>= (b >>= c)') is 'a >>= (b >>= c)' | 319 PASS compileAndSerialize('a >>= (b >>= c)') is 'a >>= (b >>= c)' |
320 PASS compileAndSerialize('a = b >>= c') is 'a = b >>= c' | 320 PASS compileAndSerialize('a = b >>= c') is 'a = b >>= c' |
321 PASS compileAndSerialize('(a = b) >>= c') is '(a = b) >>= c' | 321 FAIL compileAndSerialize('(a = b) >>= c') should be (a = b) >>= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
322 PASS compileAndSerialize('a = (b >>= c)') is 'a = (b >>= c)' | 322 PASS compileAndSerialize('a = (b >>= c)') is 'a = (b >>= c)' |
323 PASS compileAndSerialize('a >>= b + c') is 'a >>= b + c' | 323 PASS compileAndSerialize('a >>= b + c') is 'a >>= b + c' |
324 PASS compileAndSerialize('(a >>= b) + c') is '(a >>= b) + c' | 324 PASS compileAndSerialize('(a >>= b) + c') is '(a >>= b) + c' |
325 PASS compileAndSerialize('a >>= (b + c)') is 'a >>= (b + c)' | 325 PASS compileAndSerialize('a >>= (b + c)') is 'a >>= (b + c)' |
326 FAIL compileAndSerialize('a + b >>= c') should throw an exception. Was a + b >>=
c. | 326 PASS compileAndSerialize('a + b >>= c') threw exception ReferenceError: Invalid
left-hand side in assignment. |
327 PASS compileAndSerialize('(a + b) >>= c') is '(a + b) >>= c' | 327 FAIL compileAndSerialize('(a + b) >>= c') should be (a + b) >>= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
328 PASS compileAndSerialize('a + (b >>= c)') is 'a + (b >>= c)' | 328 PASS compileAndSerialize('a + (b >>= c)') is 'a + (b >>= c)' |
329 PASS compileAndSerialize('a >>>= b >>>= c') is 'a >>>= b >>>= c' | 329 PASS compileAndSerialize('a >>>= b >>>= c') is 'a >>>= b >>>= c' |
330 PASS compileAndSerialize('(a >>>= b) >>>= c') is '(a >>>= b) >>>= c' | 330 FAIL compileAndSerialize('(a >>>= b) >>>= c') should be (a >>>= b) >>>= c. Threw
exception ReferenceError: Invalid left-hand side in assignment |
331 PASS compileAndSerialize('a >>>= (b >>>= c)') is 'a >>>= (b >>>= c)' | 331 PASS compileAndSerialize('a >>>= (b >>>= c)') is 'a >>>= (b >>>= c)' |
332 PASS compileAndSerialize('a = b >>>= c') is 'a = b >>>= c' | 332 PASS compileAndSerialize('a = b >>>= c') is 'a = b >>>= c' |
333 PASS compileAndSerialize('(a = b) >>>= c') is '(a = b) >>>= c' | 333 FAIL compileAndSerialize('(a = b) >>>= c') should be (a = b) >>>= c. Threw excep
tion ReferenceError: Invalid left-hand side in assignment |
334 PASS compileAndSerialize('a = (b >>>= c)') is 'a = (b >>>= c)' | 334 PASS compileAndSerialize('a = (b >>>= c)') is 'a = (b >>>= c)' |
335 PASS compileAndSerialize('a >>>= b + c') is 'a >>>= b + c' | 335 PASS compileAndSerialize('a >>>= b + c') is 'a >>>= b + c' |
336 PASS compileAndSerialize('(a >>>= b) + c') is '(a >>>= b) + c' | 336 PASS compileAndSerialize('(a >>>= b) + c') is '(a >>>= b) + c' |
337 PASS compileAndSerialize('a >>>= (b + c)') is 'a >>>= (b + c)' | 337 PASS compileAndSerialize('a >>>= (b + c)') is 'a >>>= (b + c)' |
338 FAIL compileAndSerialize('a + b >>>= c') should throw an exception. Was a + b >>
>= c. | 338 PASS compileAndSerialize('a + b >>>= c') threw exception ReferenceError: Invalid
left-hand side in assignment. |
339 PASS compileAndSerialize('(a + b) >>>= c') is '(a + b) >>>= c' | 339 FAIL compileAndSerialize('(a + b) >>>= c') should be (a + b) >>>= c. Threw excep
tion ReferenceError: Invalid left-hand side in assignment |
340 PASS compileAndSerialize('a + (b >>>= c)') is 'a + (b >>>= c)' | 340 PASS compileAndSerialize('a + (b >>>= c)') is 'a + (b >>>= c)' |
341 PASS compileAndSerialize('a &= b &= c') is 'a &= b &= c' | 341 PASS compileAndSerialize('a &= b &= c') is 'a &= b &= c' |
342 PASS compileAndSerialize('(a &= b) &= c') is '(a &= b) &= c' | 342 FAIL compileAndSerialize('(a &= b) &= c') should be (a &= b) &= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
343 PASS compileAndSerialize('a &= (b &= c)') is 'a &= (b &= c)' | 343 PASS compileAndSerialize('a &= (b &= c)') is 'a &= (b &= c)' |
344 PASS compileAndSerialize('a = b &= c') is 'a = b &= c' | 344 PASS compileAndSerialize('a = b &= c') is 'a = b &= c' |
345 PASS compileAndSerialize('(a = b) &= c') is '(a = b) &= c' | 345 FAIL compileAndSerialize('(a = b) &= c') should be (a = b) &= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
346 PASS compileAndSerialize('a = (b &= c)') is 'a = (b &= c)' | 346 PASS compileAndSerialize('a = (b &= c)') is 'a = (b &= c)' |
347 PASS compileAndSerialize('a &= b + c') is 'a &= b + c' | 347 PASS compileAndSerialize('a &= b + c') is 'a &= b + c' |
348 PASS compileAndSerialize('(a &= b) + c') is '(a &= b) + c' | 348 PASS compileAndSerialize('(a &= b) + c') is '(a &= b) + c' |
349 PASS compileAndSerialize('a &= (b + c)') is 'a &= (b + c)' | 349 PASS compileAndSerialize('a &= (b + c)') is 'a &= (b + c)' |
350 FAIL compileAndSerialize('a + b &= c') should throw an exception. Was a + b &= c
. | 350 PASS compileAndSerialize('a + b &= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
351 PASS compileAndSerialize('(a + b) &= c') is '(a + b) &= c' | 351 FAIL compileAndSerialize('(a + b) &= c') should be (a + b) &= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
352 PASS compileAndSerialize('a + (b &= c)') is 'a + (b &= c)' | 352 PASS compileAndSerialize('a + (b &= c)') is 'a + (b &= c)' |
353 PASS compileAndSerialize('a ^= b ^= c') is 'a ^= b ^= c' | 353 PASS compileAndSerialize('a ^= b ^= c') is 'a ^= b ^= c' |
354 PASS compileAndSerialize('(a ^= b) ^= c') is '(a ^= b) ^= c' | 354 FAIL compileAndSerialize('(a ^= b) ^= c') should be (a ^= b) ^= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
355 PASS compileAndSerialize('a ^= (b ^= c)') is 'a ^= (b ^= c)' | 355 PASS compileAndSerialize('a ^= (b ^= c)') is 'a ^= (b ^= c)' |
356 PASS compileAndSerialize('a = b ^= c') is 'a = b ^= c' | 356 PASS compileAndSerialize('a = b ^= c') is 'a = b ^= c' |
357 PASS compileAndSerialize('(a = b) ^= c') is '(a = b) ^= c' | 357 FAIL compileAndSerialize('(a = b) ^= c') should be (a = b) ^= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
358 PASS compileAndSerialize('a = (b ^= c)') is 'a = (b ^= c)' | 358 PASS compileAndSerialize('a = (b ^= c)') is 'a = (b ^= c)' |
359 PASS compileAndSerialize('a ^= b + c') is 'a ^= b + c' | 359 PASS compileAndSerialize('a ^= b + c') is 'a ^= b + c' |
360 PASS compileAndSerialize('(a ^= b) + c') is '(a ^= b) + c' | 360 PASS compileAndSerialize('(a ^= b) + c') is '(a ^= b) + c' |
361 PASS compileAndSerialize('a ^= (b + c)') is 'a ^= (b + c)' | 361 PASS compileAndSerialize('a ^= (b + c)') is 'a ^= (b + c)' |
362 FAIL compileAndSerialize('a + b ^= c') should throw an exception. Was a + b ^= c
. | 362 PASS compileAndSerialize('a + b ^= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
363 PASS compileAndSerialize('(a + b) ^= c') is '(a + b) ^= c' | 363 FAIL compileAndSerialize('(a + b) ^= c') should be (a + b) ^= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
364 PASS compileAndSerialize('a + (b ^= c)') is 'a + (b ^= c)' | 364 PASS compileAndSerialize('a + (b ^= c)') is 'a + (b ^= c)' |
365 PASS compileAndSerialize('a |= b |= c') is 'a |= b |= c' | 365 PASS compileAndSerialize('a |= b |= c') is 'a |= b |= c' |
366 PASS compileAndSerialize('(a |= b) |= c') is '(a |= b) |= c' | 366 FAIL compileAndSerialize('(a |= b) |= c') should be (a |= b) |= c. Threw excepti
on ReferenceError: Invalid left-hand side in assignment |
367 PASS compileAndSerialize('a |= (b |= c)') is 'a |= (b |= c)' | 367 PASS compileAndSerialize('a |= (b |= c)') is 'a |= (b |= c)' |
368 PASS compileAndSerialize('a = b |= c') is 'a = b |= c' | 368 PASS compileAndSerialize('a = b |= c') is 'a = b |= c' |
369 PASS compileAndSerialize('(a = b) |= c') is '(a = b) |= c' | 369 FAIL compileAndSerialize('(a = b) |= c') should be (a = b) |= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
370 PASS compileAndSerialize('a = (b |= c)') is 'a = (b |= c)' | 370 PASS compileAndSerialize('a = (b |= c)') is 'a = (b |= c)' |
371 PASS compileAndSerialize('a |= b + c') is 'a |= b + c' | 371 PASS compileAndSerialize('a |= b + c') is 'a |= b + c' |
372 PASS compileAndSerialize('(a |= b) + c') is '(a |= b) + c' | 372 PASS compileAndSerialize('(a |= b) + c') is '(a |= b) + c' |
373 PASS compileAndSerialize('a |= (b + c)') is 'a |= (b + c)' | 373 PASS compileAndSerialize('a |= (b + c)') is 'a |= (b + c)' |
374 FAIL compileAndSerialize('a + b |= c') should throw an exception. Was a + b |= c
. | 374 PASS compileAndSerialize('a + b |= c') threw exception ReferenceError: Invalid l
eft-hand side in assignment. |
375 PASS compileAndSerialize('(a + b) |= c') is '(a + b) |= c' | 375 FAIL compileAndSerialize('(a + b) |= c') should be (a + b) |= c. Threw exception
ReferenceError: Invalid left-hand side in assignment |
376 PASS compileAndSerialize('a + (b |= c)') is 'a + (b |= c)' | 376 PASS compileAndSerialize('a + (b |= c)') is 'a + (b |= c)' |
377 PASS compileAndSerialize('delete a + b') is 'delete a + b' | 377 PASS compileAndSerialize('delete a + b') is 'delete a + b' |
378 PASS compileAndSerialize('(delete a) + b') is '(delete a) + b' | 378 PASS compileAndSerialize('(delete a) + b') is '(delete a) + b' |
379 PASS compileAndSerialize('delete (a + b)') is 'delete (a + b)' | 379 PASS compileAndSerialize('delete (a + b)') is 'delete (a + b)' |
380 PASS compileAndSerialize('!delete a') is '!delete a' | 380 PASS compileAndSerialize('!delete a') is '!delete a' |
381 PASS compileAndSerialize('!(delete a)') is '!(delete a)' | 381 PASS compileAndSerialize('!(delete a)') is '!(delete a)' |
382 PASS compileAndSerialize('void a + b') is 'void a + b' | 382 PASS compileAndSerialize('void a + b') is 'void a + b' |
383 PASS compileAndSerialize('(void a) + b') is '(void a) + b' | 383 PASS compileAndSerialize('(void a) + b') is '(void a) + b' |
384 PASS compileAndSerialize('void (a + b)') is 'void (a + b)' | 384 PASS compileAndSerialize('void (a + b)') is 'void (a + b)' |
385 PASS compileAndSerialize('!void a') is '!void a' | 385 PASS compileAndSerialize('!void a') is '!void a' |
386 PASS compileAndSerialize('!(void a)') is '!(void a)' | 386 PASS compileAndSerialize('!(void a)') is '!(void a)' |
387 PASS compileAndSerialize('typeof a + b') is 'typeof a + b' | 387 PASS compileAndSerialize('typeof a + b') is 'typeof a + b' |
388 PASS compileAndSerialize('(typeof a) + b') is '(typeof a) + b' | 388 PASS compileAndSerialize('(typeof a) + b') is '(typeof a) + b' |
389 PASS compileAndSerialize('typeof (a + b)') is 'typeof (a + b)' | 389 PASS compileAndSerialize('typeof (a + b)') is 'typeof (a + b)' |
390 PASS compileAndSerialize('!typeof a') is '!typeof a' | 390 PASS compileAndSerialize('!typeof a') is '!typeof a' |
391 PASS compileAndSerialize('!(typeof a)') is '!(typeof a)' | 391 PASS compileAndSerialize('!(typeof a)') is '!(typeof a)' |
392 PASS compileAndSerialize('++a + b') is '++a + b' | 392 PASS compileAndSerialize('++a + b') is '++a + b' |
393 PASS compileAndSerialize('(++a) + b') is '(++a) + b' | 393 PASS compileAndSerialize('(++a) + b') is '(++a) + b' |
394 PASS compileAndSerialize('++(a + b)') is '++(a + b)' | 394 FAIL compileAndSerialize('++(a + b)') should be ++(a + b). Threw exception Refer
enceError: Invalid left-hand side expression in prefix operation |
395 PASS compileAndSerialize('!++a') is '!++a' | 395 PASS compileAndSerialize('!++a') is '!++a' |
396 PASS compileAndSerialize('!(++a)') is '!(++a)' | 396 PASS compileAndSerialize('!(++a)') is '!(++a)' |
397 PASS compileAndSerialize('--a + b') is '--a + b' | 397 PASS compileAndSerialize('--a + b') is '--a + b' |
398 PASS compileAndSerialize('(--a) + b') is '(--a) + b' | 398 PASS compileAndSerialize('(--a) + b') is '(--a) + b' |
399 PASS compileAndSerialize('--(a + b)') is '--(a + b)' | 399 FAIL compileAndSerialize('--(a + b)') should be --(a + b). Threw exception Refer
enceError: Invalid left-hand side expression in prefix operation |
400 PASS compileAndSerialize('!--a') is '!--a' | 400 PASS compileAndSerialize('!--a') is '!--a' |
401 PASS compileAndSerialize('!(--a)') is '!(--a)' | 401 PASS compileAndSerialize('!(--a)') is '!(--a)' |
402 PASS compileAndSerialize('+ a + b') is '+ a + b' | 402 PASS compileAndSerialize('+ a + b') is '+ a + b' |
403 PASS compileAndSerialize('(+ a) + b') is '(+ a) + b' | 403 PASS compileAndSerialize('(+ a) + b') is '(+ a) + b' |
404 PASS compileAndSerialize('+ (a + b)') is '+ (a + b)' | 404 PASS compileAndSerialize('+ (a + b)') is '+ (a + b)' |
405 PASS compileAndSerialize('!+ a') is '!+ a' | 405 PASS compileAndSerialize('!+ a') is '!+ a' |
406 PASS compileAndSerialize('!(+ a)') is '!(+ a)' | 406 PASS compileAndSerialize('!(+ a)') is '!(+ a)' |
407 PASS compileAndSerialize('- a + b') is '- a + b' | 407 PASS compileAndSerialize('- a + b') is '- a + b' |
408 PASS compileAndSerialize('(- a) + b') is '(- a) + b' | 408 PASS compileAndSerialize('(- a) + b') is '(- a) + b' |
409 PASS compileAndSerialize('- (a + b)') is '- (a + b)' | 409 PASS compileAndSerialize('- (a + b)') is '- (a + b)' |
410 PASS compileAndSerialize('!- a') is '!- a' | 410 PASS compileAndSerialize('!- a') is '!- a' |
411 PASS compileAndSerialize('!(- a)') is '!(- a)' | 411 PASS compileAndSerialize('!(- a)') is '!(- a)' |
412 PASS compileAndSerialize('~a + b') is '~a + b' | 412 PASS compileAndSerialize('~a + b') is '~a + b' |
413 PASS compileAndSerialize('(~a) + b') is '(~a) + b' | 413 PASS compileAndSerialize('(~a) + b') is '(~a) + b' |
414 PASS compileAndSerialize('~(a + b)') is '~(a + b)' | 414 PASS compileAndSerialize('~(a + b)') is '~(a + b)' |
415 PASS compileAndSerialize('!~a') is '!~a' | 415 PASS compileAndSerialize('!~a') is '!~a' |
416 PASS compileAndSerialize('!(~a)') is '!(~a)' | 416 PASS compileAndSerialize('!(~a)') is '!(~a)' |
417 PASS compileAndSerialize('!a + b') is '!a + b' | 417 PASS compileAndSerialize('!a + b') is '!a + b' |
418 PASS compileAndSerialize('(!a) + b') is '(!a) + b' | 418 PASS compileAndSerialize('(!a) + b') is '(!a) + b' |
419 PASS compileAndSerialize('!(a + b)') is '!(a + b)' | 419 PASS compileAndSerialize('!(a + b)') is '!(a + b)' |
420 PASS compileAndSerialize('!!a') is '!!a' | 420 PASS compileAndSerialize('!!a') is '!!a' |
421 PASS compileAndSerialize('!(!a)') is '!(!a)' | 421 PASS compileAndSerialize('!(!a)') is '!(!a)' |
422 PASS compileAndSerialize('!a++') is '!a++' | 422 PASS compileAndSerialize('!a++') is '!a++' |
423 PASS compileAndSerialize('!(a++)') is '!(a++)' | 423 PASS compileAndSerialize('!(a++)') is '!(a++)' |
424 PASS compileAndSerialize('(!a)++') is '(!a)++' | 424 FAIL compileAndSerialize('(!a)++') should be (!a)++. Threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation |
425 PASS compileAndSerialize('!a--') is '!a--' | 425 PASS compileAndSerialize('!a--') is '!a--' |
426 PASS compileAndSerialize('!(a--)') is '!(a--)' | 426 PASS compileAndSerialize('!(a--)') is '!(a--)' |
427 PASS compileAndSerialize('(!a)--') is '(!a)--' | 427 FAIL compileAndSerialize('(!a)--') should be (!a)--. Threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation |
428 PASS compileAndSerialize('(-1)[a]') is '(-1)[a]' | 428 PASS compileAndSerialize('(-1)[a]') is '(-1)[a]' |
429 PASS compileAndSerialize('(-1)[a] = b') is '(-1)[a] = b' | 429 PASS compileAndSerialize('(-1)[a] = b') is '(-1)[a] = b' |
430 PASS compileAndSerialize('(-1)[a] += b') is '(-1)[a] += b' | 430 PASS compileAndSerialize('(-1)[a] += b') is '(-1)[a] += b' |
431 PASS compileAndSerialize('(-1)[a]++') is '(-1)[a]++' | 431 PASS compileAndSerialize('(-1)[a]++') is '(-1)[a]++' |
432 PASS compileAndSerialize('++(-1)[a]') is '++(-1)[a]' | 432 PASS compileAndSerialize('++(-1)[a]') is '++(-1)[a]' |
433 PASS compileAndSerialize('(-1)[a]()') is '(-1)[a]()' | 433 PASS compileAndSerialize('(-1)[a]()') is '(-1)[a]()' |
434 PASS compileAndSerialize('new (-1)()') is 'new (-1)()' | 434 PASS compileAndSerialize('new (-1)()') is 'new (-1)()' |
435 PASS compileAndSerialize('(-1).a') is '(-1).a' | 435 PASS compileAndSerialize('(-1).a') is '(-1).a' |
436 PASS compileAndSerialize('(-1).a = b') is '(-1).a = b' | 436 PASS compileAndSerialize('(-1).a = b') is '(-1).a = b' |
437 PASS compileAndSerialize('(-1).a += b') is '(-1).a += b' | 437 PASS compileAndSerialize('(-1).a += b') is '(-1).a += b' |
(...skipping 19 matching lines...) Expand all Loading... |
457 PASS compileAndSerialize('(1)[a]++') is '(1)[a]++' | 457 PASS compileAndSerialize('(1)[a]++') is '(1)[a]++' |
458 PASS compileAndSerialize('++(1)[a]') is '++(1)[a]' | 458 PASS compileAndSerialize('++(1)[a]') is '++(1)[a]' |
459 PASS compileAndSerialize('(1)[a]()') is '(1)[a]()' | 459 PASS compileAndSerialize('(1)[a]()') is '(1)[a]()' |
460 PASS compileAndSerialize('new (1)()') is 'new (1)()' | 460 PASS compileAndSerialize('new (1)()') is 'new (1)()' |
461 PASS compileAndSerialize('(1).a') is '(1).a' | 461 PASS compileAndSerialize('(1).a') is '(1).a' |
462 PASS compileAndSerialize('(1).a = b') is '(1).a = b' | 462 PASS compileAndSerialize('(1).a = b') is '(1).a = b' |
463 PASS compileAndSerialize('(1).a += b') is '(1).a += b' | 463 PASS compileAndSerialize('(1).a += b') is '(1).a += b' |
464 PASS compileAndSerialize('(1).a++') is '(1).a++' | 464 PASS compileAndSerialize('(1).a++') is '(1).a++' |
465 PASS compileAndSerialize('++(1).a') is '++(1).a' | 465 PASS compileAndSerialize('++(1).a') is '++(1).a' |
466 PASS compileAndSerialize('(1).a()') is '(1).a()' | 466 PASS compileAndSerialize('(1).a()') is '(1).a()' |
467 PASS compileAndSerialize('(-1) = a') is '(-1) = a' | 467 FAIL compileAndSerialize('(-1) = a') should be (-1) = a. Threw exception Referen
ceError: Invalid left-hand side in assignment |
468 PASS compileAndSerialize('(- 0) = a') is '(- 0) = a' | 468 FAIL compileAndSerialize('(- 0) = a') should be (- 0) = a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
469 PASS compileAndSerialize('1 = a') is '1 = a' | 469 FAIL compileAndSerialize('1 = a') should be 1 = a. Threw exception ReferenceErro
r: Invalid left-hand side in assignment |
470 PASS compileAndSerialize('(-1) *= a') is '(-1) *= a' | 470 FAIL compileAndSerialize('(-1) *= a') should be (-1) *= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
471 PASS compileAndSerialize('(- 0) *= a') is '(- 0) *= a' | 471 FAIL compileAndSerialize('(- 0) *= a') should be (- 0) *= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
472 PASS compileAndSerialize('1 *= a') is '1 *= a' | 472 FAIL compileAndSerialize('1 *= a') should be 1 *= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
473 PASS compileAndSerialize('(-1) /= a') is '(-1) /= a' | 473 FAIL compileAndSerialize('(-1) /= a') should be (-1) /= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
474 PASS compileAndSerialize('(- 0) /= a') is '(- 0) /= a' | 474 FAIL compileAndSerialize('(- 0) /= a') should be (- 0) /= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
475 PASS compileAndSerialize('1 /= a') is '1 /= a' | 475 FAIL compileAndSerialize('1 /= a') should be 1 /= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
476 PASS compileAndSerialize('(-1) %= a') is '(-1) %= a' | 476 FAIL compileAndSerialize('(-1) %= a') should be (-1) %= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
477 PASS compileAndSerialize('(- 0) %= a') is '(- 0) %= a' | 477 FAIL compileAndSerialize('(- 0) %= a') should be (- 0) %= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
478 PASS compileAndSerialize('1 %= a') is '1 %= a' | 478 FAIL compileAndSerialize('1 %= a') should be 1 %= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
479 PASS compileAndSerialize('(-1) += a') is '(-1) += a' | 479 FAIL compileAndSerialize('(-1) += a') should be (-1) += a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
480 PASS compileAndSerialize('(- 0) += a') is '(- 0) += a' | 480 FAIL compileAndSerialize('(- 0) += a') should be (- 0) += a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
481 PASS compileAndSerialize('1 += a') is '1 += a' | 481 FAIL compileAndSerialize('1 += a') should be 1 += a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
482 PASS compileAndSerialize('(-1) -= a') is '(-1) -= a' | 482 FAIL compileAndSerialize('(-1) -= a') should be (-1) -= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
483 PASS compileAndSerialize('(- 0) -= a') is '(- 0) -= a' | 483 FAIL compileAndSerialize('(- 0) -= a') should be (- 0) -= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
484 PASS compileAndSerialize('1 -= a') is '1 -= a' | 484 FAIL compileAndSerialize('1 -= a') should be 1 -= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
485 PASS compileAndSerialize('(-1) <<= a') is '(-1) <<= a' | 485 FAIL compileAndSerialize('(-1) <<= a') should be (-1) <<= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
486 PASS compileAndSerialize('(- 0) <<= a') is '(- 0) <<= a' | 486 FAIL compileAndSerialize('(- 0) <<= a') should be (- 0) <<= a. Threw exception R
eferenceError: Invalid left-hand side in assignment |
487 PASS compileAndSerialize('1 <<= a') is '1 <<= a' | 487 FAIL compileAndSerialize('1 <<= a') should be 1 <<= a. Threw exception Reference
Error: Invalid left-hand side in assignment |
488 PASS compileAndSerialize('(-1) >>= a') is '(-1) >>= a' | 488 FAIL compileAndSerialize('(-1) >>= a') should be (-1) >>= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
489 PASS compileAndSerialize('(- 0) >>= a') is '(- 0) >>= a' | 489 FAIL compileAndSerialize('(- 0) >>= a') should be (- 0) >>= a. Threw exception R
eferenceError: Invalid left-hand side in assignment |
490 PASS compileAndSerialize('1 >>= a') is '1 >>= a' | 490 FAIL compileAndSerialize('1 >>= a') should be 1 >>= a. Threw exception Reference
Error: Invalid left-hand side in assignment |
491 PASS compileAndSerialize('(-1) >>>= a') is '(-1) >>>= a' | 491 FAIL compileAndSerialize('(-1) >>>= a') should be (-1) >>>= a. Threw exception R
eferenceError: Invalid left-hand side in assignment |
492 PASS compileAndSerialize('(- 0) >>>= a') is '(- 0) >>>= a' | 492 FAIL compileAndSerialize('(- 0) >>>= a') should be (- 0) >>>= a. Threw exception
ReferenceError: Invalid left-hand side in assignment |
493 PASS compileAndSerialize('1 >>>= a') is '1 >>>= a' | 493 FAIL compileAndSerialize('1 >>>= a') should be 1 >>>= a. Threw exception Referen
ceError: Invalid left-hand side in assignment |
494 PASS compileAndSerialize('(-1) &= a') is '(-1) &= a' | 494 FAIL compileAndSerialize('(-1) &= a') should be (-1) &= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
495 PASS compileAndSerialize('(- 0) &= a') is '(- 0) &= a' | 495 FAIL compileAndSerialize('(- 0) &= a') should be (- 0) &= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
496 PASS compileAndSerialize('1 &= a') is '1 &= a' | 496 FAIL compileAndSerialize('1 &= a') should be 1 &= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
497 PASS compileAndSerialize('(-1) ^= a') is '(-1) ^= a' | 497 FAIL compileAndSerialize('(-1) ^= a') should be (-1) ^= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
498 PASS compileAndSerialize('(- 0) ^= a') is '(- 0) ^= a' | 498 FAIL compileAndSerialize('(- 0) ^= a') should be (- 0) ^= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
499 PASS compileAndSerialize('1 ^= a') is '1 ^= a' | 499 FAIL compileAndSerialize('1 ^= a') should be 1 ^= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
500 PASS compileAndSerialize('(-1) |= a') is '(-1) |= a' | 500 FAIL compileAndSerialize('(-1) |= a') should be (-1) |= a. Threw exception Refer
enceError: Invalid left-hand side in assignment |
501 PASS compileAndSerialize('(- 0) |= a') is '(- 0) |= a' | 501 FAIL compileAndSerialize('(- 0) |= a') should be (- 0) |= a. Threw exception Ref
erenceError: Invalid left-hand side in assignment |
502 PASS compileAndSerialize('1 |= a') is '1 |= a' | 502 FAIL compileAndSerialize('1 |= a') should be 1 |= a. Threw exception ReferenceEr
ror: Invalid left-hand side in assignment |
503 PASS compileAndSerializeLeftmostTest('({ }).x') is '({ }).x' | 503 PASS compileAndSerializeLeftmostTest('({ }).x') is '({ }).x' |
504 PASS compileAndSerializeLeftmostTest('x = { }') is 'x = { }' | 504 PASS compileAndSerializeLeftmostTest('x = { }') is 'x = { }' |
505 PASS compileAndSerializeLeftmostTest('(function () { })()') is '(function () { }
)()' | 505 PASS compileAndSerializeLeftmostTest('(function () { })()') is '(function () { }
)()' |
506 PASS compileAndSerializeLeftmostTest('x = function () { }') is 'x = function ()
{ }' | 506 PASS compileAndSerializeLeftmostTest('x = function () { }') is 'x = function ()
{ }' |
507 PASS compileAndSerializeLeftmostTest('var a') is 'var a' | 507 PASS compileAndSerializeLeftmostTest('var a') is 'var a' |
508 PASS compileAndSerializeLeftmostTest('var a = 1') is 'var a = 1' | 508 PASS compileAndSerializeLeftmostTest('var a = 1') is 'var a = 1' |
509 PASS compileAndSerializeLeftmostTest('var a, b') is 'var a, b' | 509 PASS compileAndSerializeLeftmostTest('var a, b') is 'var a, b' |
510 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2') is 'var a = 1, b = 2' | 510 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2') is 'var a = 1, b = 2' |
511 PASS compileAndSerializeLeftmostTest('var a, b, c') is 'var a, b, c' | 511 PASS compileAndSerializeLeftmostTest('var a, b, c') is 'var a, b, c' |
512 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2, c = 3') is 'var a = 1, b
= 2, c = 3' | 512 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2, c = 3') is 'var a = 1, b
= 2, c = 3' |
513 PASS compileAndSerializeLeftmostTest('const a = 1') is 'const a = 1' | 513 PASS compileAndSerializeLeftmostTest('const a = 1') is 'const a = 1' |
514 PASS compileAndSerializeLeftmostTest('const a = (1, 2)') is 'const a = (1, 2)' | 514 PASS compileAndSerializeLeftmostTest('const a = (1, 2)') is 'const a = (1, 2)' |
515 PASS compileAndSerializeLeftmostTest('const a, b = 1') is 'const a, b = 1' | 515 PASS compileAndSerializeLeftmostTest('const a, b = 1') is 'const a, b = 1' |
516 PASS compileAndSerializeLeftmostTest('const a = 1, b') is 'const a = 1, b' | 516 PASS compileAndSerializeLeftmostTest('const a = 1, b') is 'const a = 1, b' |
517 PASS compileAndSerializeLeftmostTest('const a = 1, b = 1') is 'const a = 1, b =
1' | 517 PASS compileAndSerializeLeftmostTest('const a = 1, b = 1') is 'const a = 1, b =
1' |
518 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = 1') is 'const a = (1
, 2), b = 1' | 518 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = 1') is 'const a = (1
, 2), b = 1' |
519 PASS compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)') is 'const a = 1,
b = (1, 2)' | 519 PASS compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)') is 'const a = 1,
b = (1, 2)' |
520 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)') is 'const a
= (1, 2), b = (1, 2)' | 520 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)') is 'const a
= (1, 2), b = (1, 2)' |
521 PASS compileAndSerialize('(function () { new (a.b()).c })') is '(function () { n
ew (a.b()).c })' | 521 PASS compileAndSerialize('(function () { new (a.b()).c })') is '(function () { n
ew (a.b()).c })' |
522 PASS successfullyParsed is true | 522 PASS successfullyParsed is true |
523 | 523 |
524 TEST COMPLETE | 524 TEST COMPLETE |
525 | 525 |
OLD | NEW |