mirror of https://github.com/tc39/test262.git
21 lines
392 B
JavaScript
21 lines
392 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: "IdentifierPart :: IdentifierStart"
|
|
es5id: 7.6_A2.1_T2
|
|
description: "IdentifierStart :: $"
|
|
---*/
|
|
|
|
var $ = 1;
|
|
assert.sameValue($, 1);
|
|
|
|
var $x = 2;
|
|
assert.sameValue($x, 2);
|
|
|
|
var $$ = 3;
|
|
assert.sameValue($$, 3);
|
|
|
|
var $_ = 4;
|
|
assert.sameValue($_, 4);
|