mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Generate more correct property name nodes in declaration emit (#34741)
* Generate more correct property name nodes in declaration emit * Silly only-on-CI lint rule T.T
This commit is contained in:
1 parent
d28672d97f
commit
8b7664ae15
237 files changed
+1030
-927
No files matched your search
+23
-8
@@ -4258,9 +4258,9 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
}
|
||||
const propertyName = symbolToName(propertySymbol, context, SymbolFlags.Value, /*expectsIdentifier*/ true);
|
||||
context.approximateLength += (symbolName(propertySymbol).length + 1);
|
||||
context.enclosingDeclaration = saveEnclosingDeclaration;
|
||||
const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);
|
||||
context.approximateLength += (symbolName(propertySymbol).length + 1);
|
||||
const optionalToken = propertySymbol.flags & SymbolFlags.Optional ? createToken(SyntaxKind.QuestionToken) : undefined;
|
||||
if (propertySymbol.flags & (SymbolFlags.Function | SymbolFlags.Method) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {
|
||||
const signatures = getSignaturesOfType(filterType(propertyType, t => !(t.flags & TypeFlags.Undefined)), SignatureKind.Call);
|
||||
@@ -4892,23 +4892,38 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function isSingleQuotedStringNamed(d: Declaration) {
|
||||
const name = getNameOfDeclaration(d);
|
||||
if (name && isStringLiteral(name) && (
|
||||
name.singleQuote ||
|
||||
(!nodeIsSynthesized(name) && startsWith(getTextOfNode(name, /*includeTrivia*/ false), "'"))
|
||||
)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function getPropertyNameNodeForSymbol(symbol: Symbol, context: NodeBuilderContext) {
|
||||
const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context);
|
||||
const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed);
|
||||
const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote);
|
||||
if (fromNameType) {
|
||||
return fromNameType;
|
||||
}
|
||||
if (isKnownSymbol(symbol)) {
|
||||
return createComputedPropertyName(createPropertyAccess(createIdentifier("Symbol"), (symbol.escapedName as string).substr(3)));
|
||||
}
|
||||
const rawName = unescapeLeadingUnderscores(symbol.escapedName);
|
||||
return createPropertyNameNodeForIdentifierOrLiteral(rawName);
|
||||
return createPropertyNameNodeForIdentifierOrLiteral(rawName, singleQuote);
|
||||
}
|
||||
|
||||
// See getNameForSymbolFromNameType for a stringy equivalent
|
||||
function getPropertyNameNodeForSymbolFromNameType(symbol: Symbol, context: NodeBuilderContext) {
|
||||
function getPropertyNameNodeForSymbolFromNameType(symbol: Symbol, context: NodeBuilderContext, singleQuote?: boolean) {
|
||||
const nameType = symbol.nameType;
|
||||
if (nameType) {
|
||||
if (nameType.flags & TypeFlags.StringOrNumberLiteral) {
|
||||
const name = "" + (<StringLiteralType | NumberLiteralType>nameType).value;
|
||||
if (!isIdentifierText(name, compilerOptions.target) && !isNumericLiteralName(name)) {
|
||||
return createLiteral(name);
|
||||
return createLiteral(name, !!singleQuote);
|
||||
}
|
||||
if (isNumericLiteralName(name) && startsWith(name, "-")) {
|
||||
return createComputedPropertyName(createLiteral(+name));
|
||||
@@ -4921,8 +4936,8 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function createPropertyNameNodeForIdentifierOrLiteral(name: string) {
|
||||
return isIdentifierText(name, compilerOptions.target) ? createIdentifier(name) : createLiteral(isNumericLiteralName(name) ? +name : name) as StringLiteral | NumericLiteral;
|
||||
function createPropertyNameNodeForIdentifierOrLiteral(name: string, singleQuote?: boolean) {
|
||||
return isIdentifierText(name, compilerOptions.target) ? createIdentifier(name) : createLiteral(isNumericLiteralName(name) ? +name : name, !!singleQuote);
|
||||
}
|
||||
|
||||
function cloneNodeBuilderContext(context: NodeBuilderContext): NodeBuilderContext {
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace ts {
|
||||
// Literals
|
||||
|
||||
/* @internal */ export function createLiteral(value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier, isSingleQuote: boolean): StringLiteral; // eslint-disable-line @typescript-eslint/unified-signatures
|
||||
/* @internal */ export function createLiteral(value: string | number, isSingleQuote: boolean): StringLiteral | NumericLiteral;
|
||||
/** If a node is passed, creates a string literal whose source text is read from a source node during emit. */
|
||||
export function createLiteral(value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier): StringLiteral;
|
||||
export function createLiteral(value: number | PseudoBigInt): NumericLiteral;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments2_es6.ts ===
|
||||
var v = { *() { } }
|
||||
>v : { (Missing)(): Generator<never, void, unknown>; }
|
||||
>{ *() { } } : { (Missing)(): Generator<never, void, unknown>; }
|
||||
>v : { ""(): Generator<never, void, unknown>; }
|
||||
>{ *() { } } : { ""(): Generator<never, void, unknown>; }
|
||||
> : () => Generator<never, void, unknown>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments3_es6.ts ===
|
||||
var v = { *{ } }
|
||||
>v : { (Missing)(): Generator<never, void, unknown>; }
|
||||
>{ *{ } } : { (Missing)(): Generator<never, void, unknown>; }
|
||||
>v : { ""(): Generator<never, void, unknown>; }
|
||||
>{ *{ } } : { ""(): Generator<never, void, unknown>; }
|
||||
> : () => Generator<never, void, unknown>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments4_es6.ts ===
|
||||
var v = { * }
|
||||
>v : { (Missing)(): any; }
|
||||
>{ * } : { (Missing)(): any; }
|
||||
>v : { ""(): any; }
|
||||
>{ * } : { ""(): any; }
|
||||
> : () => any
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments6_es6.ts ===
|
||||
var v = { *<T>() { } }
|
||||
>v : { (Missing)<T>(): Generator<never, void, unknown>; }
|
||||
>{ *<T>() { } } : { (Missing)<T>(): Generator<never, void, unknown>; }
|
||||
>v : { ""<T>(): Generator<never, void, unknown>; }
|
||||
>{ *<T>() { } } : { ""<T>(): Generator<never, void, unknown>; }
|
||||
> : <T>() => Generator<never, void, unknown>
|
||||
|
||||
@@ -31,18 +31,18 @@ var t2: T2;
|
||||
>t2 : T2
|
||||
|
||||
var a: { 1.: string; bar?: string }
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
>1. : string
|
||||
>bar : string
|
||||
|
||||
var b: { 1.0: string; baz?: string }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
>1.0 : string
|
||||
>baz : string
|
||||
|
||||
var a2 = { 1.0: '' };
|
||||
>a2 : { 1.0: string; }
|
||||
>{ 1.0: '' } : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
>{ 1.0: '' } : { 1: string; }
|
||||
>1.0 : string
|
||||
>'' : ""
|
||||
|
||||
@@ -68,9 +68,9 @@ s = s2;
|
||||
>s2 : S2
|
||||
|
||||
s = a2;
|
||||
>s = a2 : { 1.0: string; }
|
||||
>s = a2 : { 1: string; }
|
||||
>s : S
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
|
||||
s2 = t2;
|
||||
>s2 = t2 : T2
|
||||
@@ -88,62 +88,62 @@ s2 = t;
|
||||
>t : T
|
||||
|
||||
s2 = b;
|
||||
>s2 = b : { 1.0: string; baz?: string; }
|
||||
>s2 = b : { 1: string; baz?: string; }
|
||||
>s2 : S2
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
s2 = a2;
|
||||
>s2 = a2 : { 1.0: string; }
|
||||
>s2 = a2 : { 1: string; }
|
||||
>s2 : S2
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
|
||||
a = b;
|
||||
>a = b : { 1.0: string; baz?: string; }
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>a = b : { 1: string; baz?: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
b = a;
|
||||
>b = a : { 1.: string; bar?: string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>b = a : { 1: string; bar?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
|
||||
a = s;
|
||||
>a = s : S
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
>s : S
|
||||
|
||||
a = s2;
|
||||
>a = s2 : S2
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
>s2 : S2
|
||||
|
||||
a = a2;
|
||||
>a = a2 : { 1.0: string; }
|
||||
>a : { 1.: string; bar?: string; }
|
||||
>a2 : { 1.0: string; }
|
||||
>a = a2 : { 1: string; }
|
||||
>a : { 1: string; bar?: string; }
|
||||
>a2 : { 1: string; }
|
||||
|
||||
a2 = b2;
|
||||
>a2 = b2 : { 1: string; }
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
>b2 : { 1: string; }
|
||||
|
||||
b2 = a2;
|
||||
>b2 = a2 : { 1.0: string; }
|
||||
>b2 = a2 : { 1: string; }
|
||||
>b2 : { 1: string; }
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
|
||||
a2 = b;
|
||||
>a2 = b : { 1.0: string; baz?: string; }
|
||||
>a2 : { 1.0: string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>a2 = b : { 1: string; baz?: string; }
|
||||
>a2 : { 1: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
a2 = t2;
|
||||
>a2 = t2 : T2
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
>t2 : T2
|
||||
|
||||
a2 = t;
|
||||
>a2 = t : T
|
||||
>a2 : { 1.0: string; }
|
||||
>a2 : { 1: string; }
|
||||
>t : T
|
||||
|
||||
+16
-16
@@ -11,20 +11,20 @@ tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignme
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(34,5): error TS2741: Property ''1.'' is missing in type 'S' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(35,5): error TS2741: Property ''1.'' is missing in type 'S2' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(36,5): error TS2741: Property ''1.'' is missing in type '{ '1.0': string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(38,5): error TS2741: Property ''1.0'' is missing in type '{ '1': string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(39,5): error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type '{ '1': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(38,5): error TS2741: Property ''1.0'' is missing in type '{ 1: string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(39,5): error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type '{ 1: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(42,5): error TS2741: Property ''1.0'' is missing in type 'T' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(65,5): error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type 'S'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(71,5): error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type 'S2'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(73,5): error TS2741: Property ''1.'' is missing in type '{ 1.0: string; baz?: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(74,5): error TS2741: Property '1.0' is missing in type '{ '1.': string; bar?: string; }' but required in type '{ 1.0: string; baz?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(73,5): error TS2741: Property ''1.'' is missing in type '{ 1: string; baz?: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(74,5): error TS2741: Property '1.0' is missing in type '{ '1.': string; bar?: string; }' but required in type '{ 1: string; baz?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(75,5): error TS2741: Property ''1.'' is missing in type 'S' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(76,5): error TS2741: Property ''1.'' is missing in type 'S2' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(77,5): error TS2741: Property ''1.'' is missing in type '{ '1.0': string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(78,5): error TS2741: Property ''1.'' is missing in type '{ 1.: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(80,5): error TS2741: Property ''1.0'' is missing in type '{ 1.: string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(81,5): error TS2741: Property '1.' is missing in type '{ '1.0': string; }' but required in type '{ 1.: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(82,5): error TS2741: Property ''1.0'' is missing in type '{ 1.0: string; baz?: string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(78,5): error TS2741: Property ''1.'' is missing in type '{ 1: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(80,5): error TS2741: Property ''1.0'' is missing in type '{ 1: string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(81,5): error TS2741: Property '1.' is missing in type '{ '1.0': string; }' but required in type '{ 1: string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(82,5): error TS2741: Property ''1.0'' is missing in type '{ 1: string; baz?: string; }' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(83,5): error TS2741: Property ''1.0'' is missing in type 'T2' but required in type '{ '1.0': string; }'.
|
||||
tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts(84,5): error TS2741: Property ''1.0'' is missing in type 'T' but required in type '{ '1.0': string; }'.
|
||||
|
||||
@@ -108,11 +108,11 @@ tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignme
|
||||
|
||||
a2 = b2;
|
||||
~~
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ '1': string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ 1: string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:18:16: ''1.0'' is declared here.
|
||||
b2 = a2;
|
||||
~~
|
||||
!!! error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type '{ '1': string; }'.
|
||||
!!! error TS2741: Property ''1'' is missing in type '{ '1.0': string; }' but required in type '{ 1: string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:19:16: ''1'' is declared here.
|
||||
a2 = b; // ok
|
||||
a2 = t2; // ok
|
||||
@@ -158,11 +158,11 @@ tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignme
|
||||
|
||||
a = b; // error
|
||||
~
|
||||
!!! error TS2741: Property ''1.'' is missing in type '{ 1.0: string; baz?: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
!!! error TS2741: Property ''1.'' is missing in type '{ 1: string; baz?: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:56:14: ''1.'' is declared here.
|
||||
b = a; // error
|
||||
~
|
||||
!!! error TS2741: Property '1.0' is missing in type '{ '1.': string; bar?: string; }' but required in type '{ 1.0: string; baz?: string; }'.
|
||||
!!! error TS2741: Property '1.0' is missing in type '{ '1.': string; bar?: string; }' but required in type '{ 1: string; baz?: string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:57:14: '1.0' is declared here.
|
||||
a = s; // error
|
||||
~
|
||||
@@ -178,20 +178,20 @@ tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignme
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:56:14: ''1.'' is declared here.
|
||||
a = b2; // error
|
||||
~
|
||||
!!! error TS2741: Property ''1.'' is missing in type '{ 1.: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
!!! error TS2741: Property ''1.'' is missing in type '{ 1: string; }' but required in type '{ '1.': string; bar?: string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:56:14: ''1.'' is declared here.
|
||||
|
||||
a2 = b2; // error
|
||||
~~
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ 1.: string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ 1: string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:59:16: ''1.0'' is declared here.
|
||||
b2 = a2; // error
|
||||
~~
|
||||
!!! error TS2741: Property '1.' is missing in type '{ '1.0': string; }' but required in type '{ 1.: string; }'.
|
||||
!!! error TS2741: Property '1.' is missing in type '{ '1.0': string; }' but required in type '{ 1: string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:60:16: '1.' is declared here.
|
||||
a2 = b; // error
|
||||
~~
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ 1.0: string; baz?: string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! error TS2741: Property ''1.0'' is missing in type '{ 1: string; baz?: string; }' but required in type '{ '1.0': string; }'.
|
||||
!!! related TS2728 tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts:59:16: ''1.0'' is declared here.
|
||||
a2 = t2; // error
|
||||
~~
|
||||
|
||||
+20
-20
@@ -50,8 +50,8 @@ module JustStrings {
|
||||
>'' : ""
|
||||
|
||||
var b2 = { '1': '' };
|
||||
>b2 : { '1': string; }
|
||||
>{ '1': '' } : { '1': string; }
|
||||
>b2 : { 1: string; }
|
||||
>{ '1': '' } : { 1: string; }
|
||||
>'1' : string
|
||||
>'' : ""
|
||||
|
||||
@@ -126,13 +126,13 @@ module JustStrings {
|
||||
>a2 : { '1.0': string; }
|
||||
|
||||
a2 = b2;
|
||||
>a2 = b2 : { '1': string; }
|
||||
>a2 = b2 : { 1: string; }
|
||||
>a2 : { '1.0': string; }
|
||||
>b2 : { '1': string; }
|
||||
>b2 : { 1: string; }
|
||||
|
||||
b2 = a2;
|
||||
>b2 = a2 : { '1.0': string; }
|
||||
>b2 : { '1': string; }
|
||||
>b2 : { 1: string; }
|
||||
>a2 : { '1.0': string; }
|
||||
|
||||
a2 = b; // ok
|
||||
@@ -188,7 +188,7 @@ module NumbersAndStrings {
|
||||
>bar : string
|
||||
|
||||
var b: { 1.0: string; baz?: string }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
>1.0 : string
|
||||
>baz : string
|
||||
|
||||
@@ -199,8 +199,8 @@ module NumbersAndStrings {
|
||||
>'' : ""
|
||||
|
||||
var b2 = { 1.: '' };
|
||||
>b2 : { 1.: string; }
|
||||
>{ 1.: '' } : { 1.: string; }
|
||||
>b2 : { 1: string; }
|
||||
>{ 1.: '' } : { 1: string; }
|
||||
>1. : string
|
||||
>'' : ""
|
||||
|
||||
@@ -240,9 +240,9 @@ module NumbersAndStrings {
|
||||
>t : T
|
||||
|
||||
s2 = b; // ok
|
||||
>s2 = b : { 1.0: string; baz?: string; }
|
||||
>s2 = b : { 1: string; baz?: string; }
|
||||
>s2 : S2
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
s2 = a2; // error
|
||||
>s2 = a2 : { '1.0': string; }
|
||||
@@ -250,13 +250,13 @@ module NumbersAndStrings {
|
||||
>a2 : { '1.0': string; }
|
||||
|
||||
a = b; // error
|
||||
>a = b : { 1.0: string; baz?: string; }
|
||||
>a = b : { 1: string; baz?: string; }
|
||||
>a : { '1.': string; bar?: string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
b = a; // error
|
||||
>b = a : { '1.': string; bar?: string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
>a : { '1.': string; bar?: string; }
|
||||
|
||||
a = s; // error
|
||||
@@ -275,24 +275,24 @@ module NumbersAndStrings {
|
||||
>a2 : { '1.0': string; }
|
||||
|
||||
a = b2; // error
|
||||
>a = b2 : { 1.: string; }
|
||||
>a = b2 : { 1: string; }
|
||||
>a : { '1.': string; bar?: string; }
|
||||
>b2 : { 1.: string; }
|
||||
>b2 : { 1: string; }
|
||||
|
||||
a2 = b2; // error
|
||||
>a2 = b2 : { 1.: string; }
|
||||
>a2 = b2 : { 1: string; }
|
||||
>a2 : { '1.0': string; }
|
||||
>b2 : { 1.: string; }
|
||||
>b2 : { 1: string; }
|
||||
|
||||
b2 = a2; // error
|
||||
>b2 = a2 : { '1.0': string; }
|
||||
>b2 : { 1.: string; }
|
||||
>b2 : { 1: string; }
|
||||
>a2 : { '1.0': string; }
|
||||
|
||||
a2 = b; // error
|
||||
>a2 = b : { 1.0: string; baz?: string; }
|
||||
>a2 = b : { 1: string; baz?: string; }
|
||||
>a2 : { '1.0': string; }
|
||||
>b : { 1.0: string; baz?: string; }
|
||||
>b : { 1: string; baz?: string; }
|
||||
|
||||
a2 = t2; // error
|
||||
>a2 = t2 : T2
|
||||
|
||||
@@ -8,7 +8,7 @@ tests/cases/compiler/assignmentIndexedToPrimitives.ts(8,7): error TS2322: Type '
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(9,7): error TS2322: Type 'string[]' is not assignable to type '"01"'.
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(11,7): error TS2322: Type '{ 0: number; }' is not assignable to type 'number'.
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(13,7): error TS2322: Type '{ 0: number; }' is not assignable to type 'string'.
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(14,7): error TS2322: Type '{ "0": number; }' is not assignable to type 'string'.
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(14,7): error TS2322: Type '{ 0: number; }' is not assignable to type 'string'.
|
||||
tests/cases/compiler/assignmentIndexedToPrimitives.ts(15,7): error TS2322: Type '{ 0: string; }' is not assignable to type 'string'.
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ tests/cases/compiler/assignmentIndexedToPrimitives.ts(15,7): error TS2322: Type
|
||||
!!! error TS2322: Type '{ 0: number; }' is not assignable to type 'string'.
|
||||
const so2: string = { "0": 1 };
|
||||
~~~
|
||||
!!! error TS2322: Type '{ "0": number; }' is not assignable to type 'string'.
|
||||
!!! error TS2322: Type '{ 0: number; }' is not assignable to type 'string'.
|
||||
const so3: string = { 0: "1" };
|
||||
~~~
|
||||
!!! error TS2322: Type '{ 0: string; }' is not assignable to type 'string'.
|
||||
|
||||
@@ -56,7 +56,7 @@ const so1: string = { 0: 1 };
|
||||
|
||||
const so2: string = { "0": 1 };
|
||||
>so2 : string
|
||||
>{ "0": 1 } : { "0": number; }
|
||||
>{ "0": 1 } : { 0: number; }
|
||||
>"0" : number
|
||||
>1 : 1
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ class A {
|
||||
>resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
|
||||
|
||||
const obj = { ["a"]: () => this }; // computed property name after `await` triggers case
|
||||
>obj : { ["a"]: () => this; }
|
||||
>{ ["a"]: () => this } : { ["a"]: () => this; }
|
||||
>obj : { a: () => this; }
|
||||
>{ ["a"]: () => this } : { a: () => this; }
|
||||
>["a"] : () => this
|
||||
>"a" : "a"
|
||||
>() => this : () => this
|
||||
|
||||
@@ -16,8 +16,8 @@ var bin4 = 0B1111111111111111111111111111111111111111111111111111111111111111111
|
||||
>0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111 : Infinity
|
||||
|
||||
var obj1 = {
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>{ 0b11010: "Hello", a: bin1, bin1, b: 0b11010, 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: true,} : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>{ 0b11010: "Hello", a: bin1, bin1, b: 0b11010, 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: true,} : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
|
||||
0b11010: "Hello",
|
||||
>0b11010 : string
|
||||
@@ -40,8 +40,8 @@ var obj1 = {
|
||||
}
|
||||
|
||||
var obj2 = {
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>{ 0B11010: "World", a: bin2, bin2, b: 0B11010, 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: false,} : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>{ 0B11010: "World", a: bin2, bin2, b: 0B11010, 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: false,} : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
|
||||
0B11010: "World",
|
||||
>0B11010 : string
|
||||
@@ -65,92 +65,92 @@ var obj2 = {
|
||||
|
||||
obj1[0b11010]; // string
|
||||
>obj1[0b11010] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>0b11010 : 26
|
||||
|
||||
obj1[26]; // string
|
||||
>obj1[26] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>26 : 26
|
||||
|
||||
obj1["26"]; // string
|
||||
>obj1["26"] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"26" : "26"
|
||||
|
||||
obj1["0b11010"]; // any
|
||||
>obj1["0b11010"] : error
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"0b11010" : "0b11010"
|
||||
|
||||
obj1["a"]; // number
|
||||
>obj1["a"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"a" : "a"
|
||||
|
||||
obj1["b"]; // number
|
||||
>obj1["b"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"b" : "b"
|
||||
|
||||
obj1["bin1"]; // number
|
||||
>obj1["bin1"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"bin1" : "bin1"
|
||||
|
||||
obj1["Infinity"]; // boolean
|
||||
>obj1["Infinity"] : boolean
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"Infinity" : "Infinity"
|
||||
|
||||
obj2[0B11010]; // string
|
||||
>obj2[0B11010] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>0B11010 : 26
|
||||
|
||||
obj2[26]; // string
|
||||
>obj2[26] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>26 : 26
|
||||
|
||||
obj2["26"]; // string
|
||||
>obj2["26"] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"26" : "26"
|
||||
|
||||
obj2["0B11010"]; // any
|
||||
>obj2["0B11010"] : error
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"0B11010" : "0B11010"
|
||||
|
||||
obj2["a"]; // number
|
||||
>obj2["a"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"a" : "a"
|
||||
|
||||
obj2["b"]; // number
|
||||
>obj2["b"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"b" : "b"
|
||||
|
||||
obj2["bin2"]; // number
|
||||
>obj2["bin2"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"bin2" : "bin2"
|
||||
|
||||
obj2[9.671406556917009e+24]; // boolean
|
||||
>obj2[9.671406556917009e+24] : boolean
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>9.671406556917009e+24 : 9.671406556917009e+24
|
||||
|
||||
obj2["9.671406556917009e+24"]; // boolean
|
||||
>obj2["9.671406556917009e+24"] : boolean
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"9.671406556917009e+24" : "9.671406556917009e+24"
|
||||
|
||||
obj2["Infinity"]; // any
|
||||
>obj2["Infinity"] : error
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"Infinity" : "Infinity"
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ var bin4 = 0B1111111111111111111111111111111111111111111111111111111111111111111
|
||||
>0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111 : Infinity
|
||||
|
||||
var obj1 = {
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>{ 0b11010: "Hello", a: bin1, bin1, b: 0b11010, 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: true,} : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>{ 0b11010: "Hello", a: bin1, bin1, b: 0b11010, 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: true,} : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
|
||||
0b11010: "Hello",
|
||||
>0b11010 : string
|
||||
@@ -40,8 +40,8 @@ var obj1 = {
|
||||
}
|
||||
|
||||
var obj2 = {
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>{ 0B11010: "World", a: bin2, bin2, b: 0B11010, 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: false,} : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>{ 0B11010: "World", a: bin2, bin2, b: 0B11010, 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: false,} : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
|
||||
0B11010: "World",
|
||||
>0B11010 : string
|
||||
@@ -65,92 +65,92 @@ var obj2 = {
|
||||
|
||||
obj1[0b11010]; // string
|
||||
>obj1[0b11010] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>0b11010 : 26
|
||||
|
||||
obj1[26]; // string
|
||||
>obj1[26] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>26 : 26
|
||||
|
||||
obj1["26"]; // string
|
||||
>obj1["26"] : string
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"26" : "26"
|
||||
|
||||
obj1["0b11010"]; // any
|
||||
>obj1["0b11010"] : error
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"0b11010" : "0b11010"
|
||||
|
||||
obj1["a"]; // number
|
||||
>obj1["a"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"a" : "a"
|
||||
|
||||
obj1["b"]; // number
|
||||
>obj1["b"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"b" : "b"
|
||||
|
||||
obj1["bin1"]; // number
|
||||
>obj1["bin1"] : number
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"bin1" : "bin1"
|
||||
|
||||
obj1["Infinity"]; // boolean
|
||||
>obj1["Infinity"] : boolean
|
||||
>obj1 : { 0b11010: string; a: number; bin1: number; b: number; 0B111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj1 : { 26: string; a: number; bin1: number; b: number; Infinity: boolean; }
|
||||
>"Infinity" : "Infinity"
|
||||
|
||||
obj2[0B11010]; // string
|
||||
>obj2[0B11010] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>0B11010 : 26
|
||||
|
||||
obj2[26]; // string
|
||||
>obj2[26] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>26 : 26
|
||||
|
||||
obj2["26"]; // string
|
||||
>obj2["26"] : string
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"26" : "26"
|
||||
|
||||
obj2["0B11010"]; // any
|
||||
>obj2["0B11010"] : error
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"0B11010" : "0B11010"
|
||||
|
||||
obj2["a"]; // number
|
||||
>obj2["a"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"a" : "a"
|
||||
|
||||
obj2["b"]; // number
|
||||
>obj2["b"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"b" : "b"
|
||||
|
||||
obj2["bin2"]; // number
|
||||
>obj2["bin2"] : number
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"bin2" : "bin2"
|
||||
|
||||
obj2[9.671406556917009e+24]; // boolean
|
||||
>obj2[9.671406556917009e+24] : boolean
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>9.671406556917009e+24 : 9.671406556917009e+24
|
||||
|
||||
obj2["9.671406556917009e+24"]; // boolean
|
||||
>obj2["9.671406556917009e+24"] : boolean
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"9.671406556917009e+24" : "9.671406556917009e+24"
|
||||
|
||||
obj2["Infinity"]; // any
|
||||
>obj2["Infinity"] : error
|
||||
>obj2 : { 0B11010: string; a: number; bin2: number; b: number; 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111: boolean; }
|
||||
>obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; }
|
||||
>"Infinity" : "Infinity"
|
||||
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ var bin1 = 0b11023410;
|
||||
>23410 : 23410
|
||||
|
||||
var obj1 = {
|
||||
>obj1 : { 0b11010: string; }
|
||||
>{ 0b11010: "hi", 26: "Hello", "26": "world",} : { 0b11010: string; }
|
||||
>obj1 : { 26: string; }
|
||||
>{ 0b11010: "hi", 26: "Hello", "26": "world",} : { 26: string; }
|
||||
|
||||
0b11010: "hi",
|
||||
>0b11010 : string
|
||||
|
||||
@@ -10,7 +10,7 @@ var loop2 = loop1;
|
||||
module.exports = loop2;
|
||||
>module.exports = loop2 : any
|
||||
>module.exports : any
|
||||
>module : { "tests/cases/conformance/salsa/loop": any; }
|
||||
>module : { "\"tests/cases/conformance/salsa/loop\"": any; }
|
||||
>exports : any
|
||||
>loop2 : any
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
module.exports = C
|
||||
>module.exports = C : typeof C
|
||||
>module.exports : typeof C
|
||||
>module : { "tests/cases/conformance/jsdoc/mod1": typeof C; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod1\"": typeof C; }
|
||||
>exports : typeof C
|
||||
>C : typeof C
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ Object.defineProperty(module.exports, "thing", { value: "yes", writable: true })
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: string | number | symbol, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "tests/cases/conformance/jsdoc/mod2": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>"thing" : "thing"
|
||||
>{ value: "yes", writable: true } : { value: string; writable: true; }
|
||||
@@ -271,7 +271,7 @@ Object.defineProperty(module.exports, "readonlyProp", { value: "Smith", writable
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: string | number | symbol, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "tests/cases/conformance/jsdoc/mod2": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>"readonlyProp" : "readonlyProp"
|
||||
>{ value: "Smith", writable: false } : { value: string; writable: false; }
|
||||
@@ -286,7 +286,7 @@ Object.defineProperty(module.exports, "rwAccessors", { get() { return 98122 }, s
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: string | number | symbol, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "tests/cases/conformance/jsdoc/mod2": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>"rwAccessors" : "rwAccessors"
|
||||
>{ get() { return 98122 }, set(_) { /*ignore*/ } } : { get(): number; set(_: any): void; }
|
||||
@@ -301,7 +301,7 @@ Object.defineProperty(module.exports, "readonlyAccessor", { get() { return 21.75
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: string | number | symbol, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "tests/cases/conformance/jsdoc/mod2": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>"readonlyAccessor" : "readonlyAccessor"
|
||||
>{ get() { return 21.75 } } : { get(): number; }
|
||||
@@ -314,7 +314,7 @@ Object.defineProperty(module.exports, "setonlyAccessor", {
|
||||
>Object : ObjectConstructor
|
||||
>defineProperty : (o: any, p: string | number | symbol, attributes: PropertyDescriptor & ThisType<any>) => any
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>module : { "tests/cases/conformance/jsdoc/mod2": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod2\"": typeof import("tests/cases/conformance/jsdoc/mod2"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/mod2")
|
||||
>"setonlyAccessor" : "setonlyAccessor"
|
||||
>{ /** @param {string} str */ set(str) { this.rwAccessors = Number(str) }} : { set(str: string): void; }
|
||||
|
||||
@@ -214,7 +214,7 @@ Object.defineProperty(Person.prototype, "setonlyAccessor", {
|
||||
module.exports = Person;
|
||||
>module.exports = Person : typeof Person
|
||||
>module.exports : typeof Person
|
||||
>module : { "tests/cases/conformance/jsdoc/mod1": typeof Person; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/mod1\"": typeof Person; }
|
||||
>exports : typeof Person
|
||||
>Person : typeof Person
|
||||
|
||||
@@ -24,7 +24,7 @@ export = Foo;
|
||||
module.exports = /** @type {FooFun} */(void 0);
|
||||
>module.exports = /** @type {FooFun} */(void 0) : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>module.exports : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>module : { "tests/cases/compiler/something": (foo: typeof import("tests/cases/compiler/file")) => string; }
|
||||
>module : { "\"tests/cases/compiler/something\"": (foo: typeof import("tests/cases/compiler/file")) => string; }
|
||||
>exports : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>(void 0) : (foo: typeof import("tests/cases/compiler/file")) => string
|
||||
>void 0 : undefined
|
||||
|
||||
@@ -249,7 +249,7 @@ match(() => expected, (x = expected) => void 0);
|
||||
module.exports = x;
|
||||
>module.exports = x : typeof x
|
||||
>module.exports : typeof x
|
||||
>module : { "tests/cases/conformance/jsdoc/index": typeof x; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/index\"": typeof x; }
|
||||
>exports : typeof x
|
||||
>x : typeof x
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
module.exports = {}
|
||||
>module.exports = {} : typeof import("tests/cases/compiler/index")
|
||||
>module.exports : typeof import("tests/cases/compiler/index")
|
||||
>module : { "tests/cases/compiler/index": typeof import("tests/cases/compiler/index"); }
|
||||
>module : { "\"tests/cases/compiler/index\"": typeof import("tests/cases/compiler/index"); }
|
||||
>exports : typeof import("tests/cases/compiler/index")
|
||||
>{} : {}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
|
||||
({["bar"]: bar2} = {bar: "bar"});
|
||||
>({["bar"]: bar2} = {bar: "bar"}) : { bar: string; }
|
||||
>{["bar"]: bar2} = {bar: "bar"} : { bar: string; }
|
||||
>{["bar"]: bar2} : { ["bar"]: string; }
|
||||
>{["bar"]: bar2} : { bar: string; }
|
||||
>["bar"] : string
|
||||
>"bar" : "bar"
|
||||
>bar2 : string
|
||||
|
||||
@@ -123,7 +123,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
|
||||
({["bar"]: bar2} = {bar: "bar"});
|
||||
>({["bar"]: bar2} = {bar: "bar"}) : { bar: string; }
|
||||
>{["bar"]: bar2} = {bar: "bar"} : { bar: string; }
|
||||
>{["bar"]: bar2} : { ["bar"]: string; }
|
||||
>{["bar"]: bar2} : { bar: string; }
|
||||
>["bar"] : string
|
||||
>"bar" : "bar"
|
||||
>bar2 : string
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void; }
|
||||
|
||||
[s]() { },
|
||||
>[s] : () => void
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; ""(): void; 0(): void; "hello bye"(): void; }
|
||||
|
||||
[s]() { },
|
||||
>[s] : () => void
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; [`hello bye`]: any; }
|
||||
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; [`hello bye`]: any; }
|
||||
>v : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; }
|
||||
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; }
|
||||
|
||||
get [s]() { return 0; },
|
||||
>[s] : number
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; [`hello bye`]: any; }
|
||||
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; [`hello bye`]: any; }
|
||||
>v : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; }
|
||||
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; "": any; readonly 0: number; "hello bye": any; }
|
||||
|
||||
get [s]() { return 0; },
|
||||
>[s] : number
|
||||
|
||||
@@ -12,8 +12,8 @@ class C extends Base {
|
||||
>super : typeof Base
|
||||
|
||||
var obj = {
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
>obj : { prop(): void; }
|
||||
>{ [(super(), "prop")]() { } } : { prop(): void; }
|
||||
|
||||
[(super(), "prop")]() { }
|
||||
>[(super(), "prop")] : () => void
|
||||
|
||||
@@ -12,8 +12,8 @@ class C extends Base {
|
||||
>super : typeof Base
|
||||
|
||||
var obj = {
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
>obj : { prop(): void; }
|
||||
>{ [(super(), "prop")]() { } } : { prop(): void; }
|
||||
|
||||
[(super(), "prop")]() { }
|
||||
>[(super(), "prop")] : () => void
|
||||
|
||||
@@ -15,8 +15,8 @@ class C extends Base {
|
||||
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
|
||||
|
||||
var obj = {
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
>obj : { prop(): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { prop(): void; }
|
||||
|
||||
// Ideally, we would capture this. But the reference is
|
||||
// illegal, and not capturing this is consistent with
|
||||
|
||||
@@ -15,8 +15,8 @@ class C extends Base {
|
||||
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
|
||||
|
||||
var obj = {
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
>obj : { prop(): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { prop(): void; }
|
||||
|
||||
// Ideally, we would capture this. But the reference is
|
||||
// illegal, and not capturing this is consistent with
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames46_ES5.ts ===
|
||||
var o = {
|
||||
>o : { ["" || 0]: number; }
|
||||
>{ ["" || 0]: 0} : { ["" || 0]: number; }
|
||||
>o : { 0: number; }
|
||||
>{ ["" || 0]: 0} : { 0: number; }
|
||||
|
||||
["" || 0]: 0
|
||||
>["" || 0] : number
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames46_ES6.ts ===
|
||||
var o = {
|
||||
>o : { ["" || 0]: number; }
|
||||
>{ ["" || 0]: 0} : { ["" || 0]: number; }
|
||||
>o : { 0: number; }
|
||||
>{ ["" || 0]: 0} : { 0: number; }
|
||||
|
||||
["" || 0]: 0
|
||||
>["" || 0] : number
|
||||
|
||||
@@ -8,8 +8,8 @@ enum E2 { x }
|
||||
>x : E2.x
|
||||
|
||||
var o = {
|
||||
>o : { [E1.x || E2.x]: number; }
|
||||
>{ [E1.x || E2.x]: 0} : { [E1.x || E2.x]: number; }
|
||||
>o : { 0: number; }
|
||||
>{ [E1.x || E2.x]: 0} : { 0: number; }
|
||||
|
||||
[E1.x || E2.x]: 0
|
||||
>[E1.x || E2.x] : number
|
||||
|
||||
@@ -8,8 +8,8 @@ enum E2 { x }
|
||||
>x : E2.x
|
||||
|
||||
var o = {
|
||||
>o : { [E1.x || E2.x]: number; }
|
||||
>{ [E1.x || E2.x]: 0} : { [E1.x || E2.x]: number; }
|
||||
>o : { 0: number; }
|
||||
>{ [E1.x || E2.x]: 0} : { 0: number; }
|
||||
|
||||
[E1.x || E2.x]: 0
|
||||
>[E1.x || E2.x] : number
|
||||
|
||||
@@ -26,7 +26,7 @@ extractIndexer({
|
||||
extractIndexer({
|
||||
>extractIndexer({ [E.x]: ""}) : string
|
||||
>extractIndexer : <T>(p: { [n: number]: T; }) => T
|
||||
>{ [E.x]: ""} : { [E.x]: string; }
|
||||
>{ [E.x]: ""} : { 0: string; }
|
||||
|
||||
[E.x]: ""
|
||||
>[E.x] : string
|
||||
@@ -40,7 +40,7 @@ extractIndexer({
|
||||
extractIndexer({
|
||||
>extractIndexer({ ["" || 0]: ""}) : string
|
||||
>extractIndexer : <T>(p: { [n: number]: T; }) => T
|
||||
>{ ["" || 0]: ""} : { ["" || 0]: string; }
|
||||
>{ ["" || 0]: ""} : { 0: string; }
|
||||
|
||||
["" || 0]: ""
|
||||
>["" || 0] : string
|
||||
|
||||
@@ -26,7 +26,7 @@ extractIndexer({
|
||||
extractIndexer({
|
||||
>extractIndexer({ [E.x]: ""}) : string
|
||||
>extractIndexer : <T>(p: { [n: number]: T; }) => T
|
||||
>{ [E.x]: ""} : { [E.x]: string; }
|
||||
>{ [E.x]: ""} : { 0: string; }
|
||||
|
||||
[E.x]: ""
|
||||
>[E.x] : string
|
||||
@@ -40,7 +40,7 @@ extractIndexer({
|
||||
extractIndexer({
|
||||
>extractIndexer({ ["" || 0]: ""}) : string
|
||||
>extractIndexer : <T>(p: { [n: number]: T; }) => T
|
||||
>{ ["" || 0]: ""} : { ["" || 0]: string; }
|
||||
>{ ["" || 0]: ""} : { 0: string; }
|
||||
|
||||
["" || 0]: ""
|
||||
>["" || 0] : string
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: string | number; [x: number]: string | number; [""]: number; [0]: number; [`hello bye`]: number; }
|
||||
>{ [s]: 0, [n]: n, [s + s]: 1, [s + n]: 2, [+s]: s, [""]: 0, [0]: 0, [a]: 1, [<any>true]: 0, [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: string | number; [""]: number; [0]: number; [`hello bye`]: number; }
|
||||
>v : { [x: string]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; }
|
||||
>{ [s]: 0, [n]: n, [s + s]: 1, [s + n]: 2, [+s]: s, [""]: 0, [0]: 0, [a]: 1, [<any>true]: 0, [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; }
|
||||
|
||||
[s]: 0,
|
||||
>[s] : number
|
||||
|
||||
@@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: string | number; [x: number]: string | number; [""]: number; [0]: number; [`hello bye`]: number; }
|
||||
>{ [s]: 0, [n]: n, [s + s]: 1, [s + n]: 2, [+s]: s, [""]: 0, [0]: 0, [a]: 1, [<any>true]: 0, [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: string | number; [""]: number; [0]: number; [`hello bye`]: number; }
|
||||
>v : { [x: string]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; }
|
||||
>{ [s]: 0, [n]: n, [s + s]: 1, [s + n]: 2, [+s]: s, [""]: 0, [0]: 0, [a]: 1, [<any>true]: 0, [`hello bye`]: 0, [`hello ${a} bye`]: 0} : { [x: string]: string | number; [x: number]: string | number; "": number; 0: number; "hello bye": number; }
|
||||
|
||||
[s]: 0,
|
||||
>[s] : number
|
||||
|
||||
@@ -6,8 +6,8 @@ enum E {
|
||||
>member : E.member
|
||||
}
|
||||
var v = {
|
||||
>v : { [E.member]: number; }
|
||||
>{ [E.member]: 0} : { [E.member]: number; }
|
||||
>v : { 0: number; }
|
||||
>{ [E.member]: 0} : { 0: number; }
|
||||
|
||||
[E.member]: 0
|
||||
>[E.member] : number
|
||||
|
||||
@@ -6,8 +6,8 @@ enum E {
|
||||
>member : E.member
|
||||
}
|
||||
var v = {
|
||||
>v : { [E.member]: number; }
|
||||
>{ [E.member]: 0} : { [E.member]: number; }
|
||||
>v : { 0: number; }
|
||||
>{ [E.member]: 0} : { 0: number; }
|
||||
|
||||
[E.member]: 0
|
||||
>[E.member] : number
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit6_ES5.ts ===
|
||||
var v = {
|
||||
>v : { [x: number]: {}; [-1]: {}; 1: {}; }
|
||||
>{ [-1]: {}, [+1]: {}, [~1]: {}, [!1]: {}} : { [x: number]: {}; [-1]: {}; [+1]: {}; }
|
||||
>{ [-1]: {}, [+1]: {}, [~1]: {}, [!1]: {}} : { [x: number]: {}; [-1]: {}; 1: {}; }
|
||||
|
||||
[-1]: {},
|
||||
>[-1] : {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit6_ES6.ts ===
|
||||
var v = {
|
||||
>v : { [x: number]: {}; [-1]: {}; 1: {}; }
|
||||
>{ [-1]: {}, [+1]: {}, [~1]: {}, [!1]: {}} : { [x: number]: {}; [-1]: {}; [+1]: {}; }
|
||||
>{ [-1]: {}, [+1]: {}, [~1]: {}, [!1]: {}} : { [x: number]: {}; [-1]: {}; 1: {}; }
|
||||
|
||||
[-1]: {},
|
||||
>[-1] : {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap2_ES5.ts ===
|
||||
var v = {
|
||||
>v : { ["hello"](): void; readonly ["goodbye"]: number; }
|
||||
>{ ["hello"]() { debugger; }, get ["goodbye"]() { return 0; }} : { ["hello"](): void; readonly ["goodbye"]: number; }
|
||||
>v : { hello(): void; readonly goodbye: number; }
|
||||
>{ ["hello"]() { debugger; }, get ["goodbye"]() { return 0; }} : { hello(): void; readonly goodbye: number; }
|
||||
|
||||
["hello"]() {
|
||||
>["hello"] : () => void
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap2_ES6.ts ===
|
||||
var v = {
|
||||
>v : { ["hello"](): void; readonly ["goodbye"]: number; }
|
||||
>{ ["hello"]() { debugger; }, get ["goodbye"]() { return 0; }} : { ["hello"](): void; readonly ["goodbye"]: number; }
|
||||
>v : { hello(): void; readonly goodbye: number; }
|
||||
>{ ["hello"]() { debugger; }, get ["goodbye"]() { return 0; }} : { hello(): void; readonly goodbye: number; }
|
||||
|
||||
["hello"]() {
|
||||
>["hello"] : () => void
|
||||
|
||||
@@ -159,14 +159,14 @@ declare let o1: {
|
||||
declare let o2: {
|
||||
readonly [x: string]: 1 | 2 | 3 | (() => void) | 4;
|
||||
readonly a: 1;
|
||||
readonly 'b': 2;
|
||||
readonly ['c']: 3;
|
||||
readonly b: 2;
|
||||
readonly c: 3;
|
||||
readonly d: () => void;
|
||||
};
|
||||
declare let o3: {
|
||||
readonly a: 1;
|
||||
readonly 'b': 2;
|
||||
readonly ['c']: 3;
|
||||
readonly b: 2;
|
||||
readonly c: 3;
|
||||
readonly d: () => void;
|
||||
readonly x: 10;
|
||||
readonly y: 20;
|
||||
|
||||
@@ -182,9 +182,9 @@ let o1 = { x: 10, y: 20 } as const;
|
||||
>20 : 20
|
||||
|
||||
let o2 = { a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const;
|
||||
>o2 : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; }
|
||||
>{ a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; }
|
||||
>{ a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; }
|
||||
>o2 : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; }
|
||||
>{ a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; }
|
||||
>{ a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; }
|
||||
>a : 1
|
||||
>1 : 1
|
||||
>'b' : 2
|
||||
@@ -200,11 +200,11 @@ let o2 = { a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const;
|
||||
>4 : 4
|
||||
|
||||
let o3 = { ...o1, ...o2 } as const;
|
||||
>o3 : { readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>{ ...o1, ...o2 } as const : { readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>{ ...o1, ...o2 } : { readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>o3 : { readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>{ ...o1, ...o2 } as const : { readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>{ ...o1, ...o2 } : { readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; readonly x: 10; readonly y: 20; }
|
||||
>o1 : { readonly x: 10; readonly y: 20; }
|
||||
>o2 : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly 'b': 2; readonly ['c']: 3; readonly d: () => void; }
|
||||
>o2 : { readonly [x: string]: 1 | 2 | 3 | (() => void) | 4; readonly a: 1; readonly b: 2; readonly c: 3; readonly d: () => void; }
|
||||
|
||||
let o4 = { a: 1, b: 2 };
|
||||
>o4 : { a: number; b: number; }
|
||||
|
||||
@@ -71,7 +71,7 @@ function A() { this.id = 1; }
|
||||
module.exports = A;
|
||||
>module.exports = A : typeof A
|
||||
>module.exports : typeof A
|
||||
>module : { "tests/cases/conformance/salsa/other": typeof A; }
|
||||
>module : { "\"tests/cases/conformance/salsa/other\"": typeof A; }
|
||||
>exports : typeof A
|
||||
>A : typeof A
|
||||
|
||||
@@ -246,8 +246,8 @@ module TypeScriptAllInOne {
|
||||
>/\w*/ : RegExp
|
||||
|
||||
var objLit = { "var": number = 42, equals: function (x) { return x["var"] === 42; }, instanceof : () => 'objLit{42}' };
|
||||
>objLit : { "var": number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>{ "var": number = 42, equals: function (x) { return x["var"] === 42; }, instanceof : () => 'objLit{42}' } : { "var": number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>objLit : { var: number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>{ "var": number = 42, equals: function (x) { return x["var"] === 42; }, instanceof : () => 'objLit{42}' } : { var: number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>"var" : number
|
||||
>number = 42 : 42
|
||||
>number : number
|
||||
@@ -294,7 +294,7 @@ module TypeScriptAllInOne {
|
||||
>reg.toString : () => string
|
||||
>reg : RegExp
|
||||
>toString : () => string
|
||||
>objLit : { "var": number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>objLit : { var: number; equals: (x: any) => boolean; instanceof: () => string; }
|
||||
>weekday : Weekdays.Monday
|
||||
|
||||
//
|
||||
|
||||
@@ -17,18 +17,18 @@ interface Transform3D {
|
||||
|
||||
var style: IBookStyle = {
|
||||
>style : IBookStyle
|
||||
>{ initialLeftPageTransforms: (width: number) => { return [ {'ry': null } ]; }} : { initialLeftPageTransforms: (width: number) => { 'ry': any; }[]; }
|
||||
>{ initialLeftPageTransforms: (width: number) => { return [ {'ry': null } ]; }} : { initialLeftPageTransforms: (width: number) => { ry: any; }[]; }
|
||||
|
||||
initialLeftPageTransforms: (width: number) => {
|
||||
>initialLeftPageTransforms : (width: number) => { 'ry': any; }[]
|
||||
>(width: number) => { return [ {'ry': null } ]; } : (width: number) => { 'ry': any; }[]
|
||||
>initialLeftPageTransforms : (width: number) => { ry: any; }[]
|
||||
>(width: number) => { return [ {'ry': null } ]; } : (width: number) => { ry: any; }[]
|
||||
>width : number
|
||||
|
||||
return [
|
||||
>[ {'ry': null } ] : { 'ry': null; }[]
|
||||
>[ {'ry': null } ] : { ry: null; }[]
|
||||
|
||||
{'ry': null }
|
||||
>{'ry': null } : { 'ry': null; }
|
||||
>{'ry': null } : { ry: null; }
|
||||
>'ry' : null
|
||||
>null : null
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ module.exports.y = {
|
||||
>module.exports.y = { status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
>module.exports.y : { status: "done"; m(n: number): void; }
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module : { "tests/cases/conformance/salsa/test": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>module : { "\"tests/cases/conformance/salsa/test\"": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>y : { status: "done"; m(n: number): void; }
|
||||
>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
@@ -135,7 +135,7 @@ module.exports.y = {
|
||||
module.exports.y
|
||||
>module.exports.y : { status: "done"; m(n: number): void; }
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>module : { "tests/cases/conformance/salsa/test": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>module : { "\"tests/cases/conformance/salsa/test\"": typeof import("tests/cases/conformance/salsa/test"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/test")
|
||||
>y : { status: "done"; m(n: number): void; }
|
||||
|
||||
@@ -192,7 +192,7 @@ F.prototype = {
|
||||
module.exports = {
|
||||
>module.exports = { status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
>module.exports : { status: "done"; m(n: number): void; }
|
||||
>module : { "tests/cases/conformance/salsa/mod": { status: "done"; m(n: number): void; }; }
|
||||
>module : { "\"tests/cases/conformance/salsa/mod\"": { status: "done"; m(n: number): void; }; }
|
||||
>exports : { status: "done"; m(n: number): void; }
|
||||
>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; }
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ const {
|
||||
>items : any
|
||||
>itemId : "some-id"
|
||||
>itemWithTSError : any
|
||||
>{} : { some-id: any; }
|
||||
>{} : { "some-id": any; }
|
||||
|
||||
} = objWithItems
|
||||
>objWithItems : ObjWithItems
|
||||
|
||||
@@ -15,7 +15,7 @@ import EnumExample from './EnumExample';
|
||||
>EnumExample : typeof EnumExample
|
||||
|
||||
export default {
|
||||
>{ [EnumExample.TEST]: {},} : { [EnumExample.TEST]: {}; }
|
||||
>{ [EnumExample.TEST]: {},} : { TEST: {}; }
|
||||
|
||||
[EnumExample.TEST]: {},
|
||||
>[EnumExample.TEST] : {}
|
||||
|
||||
@@ -42,5 +42,5 @@ export default _default;
|
||||
//// [main.d.ts]
|
||||
import other from "./other";
|
||||
export declare const obj: {
|
||||
[other.name]: number;
|
||||
foo: number;
|
||||
};
|
||||
@@ -29,8 +29,8 @@ import other from "./other";
|
||||
>other : { name: "foo"; }
|
||||
|
||||
export const obj = {
|
||||
>obj : { [other.name]: number; }
|
||||
>{ [other.name]: 1,} : { [other.name]: number; }
|
||||
>obj : { foo: number; }
|
||||
>{ [other.name]: 1,} : { foo: number; }
|
||||
|
||||
[other.name]: 1,
|
||||
>[other.name] : number
|
||||
|
||||
@@ -42,5 +42,5 @@ export default _default;
|
||||
//// [main.d.ts]
|
||||
import * as other2 from "./other";
|
||||
export declare const obj: {
|
||||
[other2.default.name]: number;
|
||||
foo: number;
|
||||
};
|
||||
@@ -29,8 +29,8 @@ import * as other2 from "./other";
|
||||
>other2 : typeof other2
|
||||
|
||||
export const obj = {
|
||||
>obj : { [other2.default.name]: number; }
|
||||
>{ [other2.default.name]: 1} : { [other2.default.name]: number; }
|
||||
>obj : { foo: number; }
|
||||
>{ [other2.default.name]: 1} : { foo: number; }
|
||||
|
||||
[other2.default.name]: 1
|
||||
>[other2.default.name] : number
|
||||
|
||||
@@ -33,7 +33,7 @@ type keys2workaround<O extends DeepObject, K1 extends keyof O> = Extract<
|
||||
|
||||
interface Foo extends DeepObject {
|
||||
a: {
|
||||
>a : { "1": 123; "2": string; "3": boolean; }
|
||||
>a : { 1: 123; 2: string; 3: boolean; }
|
||||
|
||||
"1": 123;
|
||||
>"1" : 123
|
||||
|
||||
@@ -26,7 +26,7 @@ interface B {
|
||||
|
||||
var b: B = {
|
||||
>b : B
|
||||
>{ 'test': 'test'} : { 'test': string; }
|
||||
>{ 'test': 'test'} : { test: string; }
|
||||
|
||||
'test': 'test'
|
||||
>'test' : string
|
||||
|
||||
@@ -49,10 +49,10 @@ const nameX = "x";
|
||||
([{ a: { [nameX]: x } }] = [{ a: new C() }]);
|
||||
>([{ a: { [nameX]: x } }] = [{ a: new C() }]) : [{ a: C; }]
|
||||
>[{ a: { [nameX]: x } }] = [{ a: new C() }] : [{ a: C; }]
|
||||
>[{ a: { [nameX]: x } }] : [{ a: { [nameX]: number; }; }]
|
||||
>{ a: { [nameX]: x } } : { a: { [nameX]: number; }; }
|
||||
>a : { [nameX]: number; }
|
||||
>{ [nameX]: x } : { [nameX]: number; }
|
||||
>[{ a: { [nameX]: x } }] : [{ a: { x: number; }; }]
|
||||
>{ a: { [nameX]: x } } : { a: { x: number; }; }
|
||||
>a : { x: number; }
|
||||
>{ [nameX]: x } : { x: number; }
|
||||
>[nameX] : number
|
||||
>nameX : "x"
|
||||
>x : number
|
||||
@@ -69,7 +69,7 @@ const nameO = "o";
|
||||
({ [nameO]: [{ a: x }]} = new C());
|
||||
>({ [nameO]: [{ a: x }]} = new C()) : C
|
||||
>{ [nameO]: [{ a: x }]} = new C() : C
|
||||
>{ [nameO]: [{ a: x }]} : { [nameO]: [{ a: number; }]; }
|
||||
>{ [nameO]: [{ a: x }]} : { o: [{ a: number; }]; }
|
||||
>[nameO] : [{ a: number; }]
|
||||
>nameO : "o"
|
||||
>[{ a: x }] : [{ a: number; }]
|
||||
|
||||
@@ -140,7 +140,7 @@ function f4() {
|
||||
({ ["x"]: x } = 0); // Error
|
||||
>({ ["x"]: x } = 0) : 0
|
||||
>{ ["x"]: x } = 0 : 0
|
||||
>{ ["x"]: x } : { ["x"]: boolean; }
|
||||
>{ ["x"]: x } : { x: boolean; }
|
||||
>["x"] : boolean
|
||||
>"x" : "x"
|
||||
>x : boolean
|
||||
|
||||
@@ -110,7 +110,7 @@ function foo1(): F1 {
|
||||
>foo1 : () => F1
|
||||
|
||||
return {
|
||||
>{ "prop1": 2 } : { "prop1": number; }
|
||||
>{ "prop1": 2 } : { prop1: number; }
|
||||
|
||||
"prop1": 2
|
||||
>"prop1" : number
|
||||
|
||||
@@ -110,7 +110,7 @@ function foo1(): F1 {
|
||||
>foo1 : () => F1
|
||||
|
||||
return {
|
||||
>{ "prop1": 2 } : { "prop1": number; }
|
||||
>{ "prop1": 2 } : { prop1: number; }
|
||||
|
||||
"prop1": 2
|
||||
>"prop1" : number
|
||||
|
||||
@@ -34,7 +34,7 @@ var {1} = { 1 };
|
||||
|
||||
var {"prop"} = { "prop": 1 };
|
||||
> : any
|
||||
>{ "prop": 1 } : { "prop": number; }
|
||||
>{ "prop": 1 } : { prop: number; }
|
||||
>"prop" : number
|
||||
>1 : 1
|
||||
|
||||
@@ -115,7 +115,7 @@ c3 = new C3({x: 0, "y": "y", z: true});
|
||||
>c3 : C3
|
||||
>new C3({x: 0, "y": "y", z: true}) : C3
|
||||
>C3 : typeof C3
|
||||
>{x: 0, "y": "y", z: true} : { x: number; "y": string; z: true; }
|
||||
>{x: 0, "y": "y", z: true} : { x: number; y: string; z: true; }
|
||||
>x : number
|
||||
>0 : 0
|
||||
>"y" : string
|
||||
|
||||
@@ -12,8 +12,8 @@ class A {
|
||||
}
|
||||
|
||||
var X = { 0b11: '', 3: '' };
|
||||
>X : { 0b11: string; }
|
||||
>{ 0b11: '', 3: '' } : { 0b11: string; }
|
||||
>X : { 3: string; }
|
||||
>{ 0b11: '', 3: '' } : { 3: string; }
|
||||
>0b11 : string
|
||||
>'' : ""
|
||||
>3 : string
|
||||
|
||||
@@ -240,9 +240,9 @@ export declare const c4 = "a";
|
||||
export declare const c5 = 1;
|
||||
export declare const s2: typeof s0;
|
||||
export declare const o1: {
|
||||
[c4]: number;
|
||||
[c5]: string;
|
||||
[s2]: boolean;
|
||||
a: number;
|
||||
1: string;
|
||||
[s0]: boolean;
|
||||
};
|
||||
export declare const o1_c4: number;
|
||||
export declare const o1_c5: string;
|
||||
|
||||
@@ -484,8 +484,8 @@ t0 = C; // static side
|
||||
|
||||
// object literals
|
||||
export const o1 = {
|
||||
>o1 : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>{ [c4]: 1, [c5]: "a", [s2]: true} : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>o1 : { a: number; 1: string; [s0]: boolean; }
|
||||
>{ [c4]: 1, [c5]: "a", [s2]: true} : { a: number; 1: string; [s0]: boolean; }
|
||||
|
||||
[c4]: 1,
|
||||
>[c4] : number
|
||||
@@ -508,24 +508,24 @@ export const o1 = {
|
||||
export const o1_c4 = o1[c4];
|
||||
>o1_c4 : number
|
||||
>o1[c4] : number
|
||||
>o1 : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>o1 : { a: number; 1: string; [s0]: boolean; }
|
||||
>c4 : "a"
|
||||
|
||||
export const o1_c5 = o1[c5];
|
||||
>o1_c5 : string
|
||||
>o1[c5] : string
|
||||
>o1 : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>o1 : { a: number; 1: string; [s0]: boolean; }
|
||||
>c5 : 1
|
||||
|
||||
export const o1_s2 = o1[s2];
|
||||
>o1_s2 : boolean
|
||||
>o1[s2] : boolean
|
||||
>o1 : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>o1 : { a: number; 1: string; [s0]: boolean; }
|
||||
>s2 : unique symbol
|
||||
|
||||
export const o2: T0 = o1;
|
||||
>o2 : T0
|
||||
>o1 : { [c4]: number; [c5]: string; [s2]: boolean; }
|
||||
>o1 : { a: number; 1: string; [s0]: boolean; }
|
||||
|
||||
// recursive declarations
|
||||
// (type parameter indirection courtesy of #20400)
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string })[x] : string
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } as { [key: string]: string } : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } : { "1": string; "2": string; }
|
||||
>{ "1": "one", "2": "two" } : { 1: string; 2: string; }
|
||||
>"1" : string
|
||||
>"one" : "one"
|
||||
>"2" : string
|
||||
@@ -19,7 +19,7 @@
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }).x : string
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } as { [key: string]: string } : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } : { "1": string; "2": string; }
|
||||
>{ "1": "one", "2": "two" } : { 1: string; 2: string; }
|
||||
>"1" : string
|
||||
>"one" : "one"
|
||||
>"2" : string
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string })[x] : string
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } as { [key: string]: string } : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } : { "1": string; "2": string; }
|
||||
>{ "1": "one", "2": "two" } : { 1: string; 2: string; }
|
||||
>"1" : string
|
||||
>"one" : "one"
|
||||
>"2" : string
|
||||
@@ -19,7 +19,7 @@
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }).x : string
|
||||
>({ "1": "one", "2": "two" } as { [key: string]: string }) : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } as { [key: string]: string } : { [key: string]: string; }
|
||||
>{ "1": "one", "2": "two" } : { "1": string; "2": string; }
|
||||
>{ "1": "one", "2": "two" } : { 1: string; 2: string; }
|
||||
>"1" : string
|
||||
>"one" : "one"
|
||||
>"2" : string
|
||||
|
||||
+2
-2
@@ -39,7 +39,7 @@ A.bar = class Q {}
|
||||
module.exports = A;
|
||||
>module.exports = A : typeof A
|
||||
>module.exports : typeof A
|
||||
>module : { "tests/cases/compiler/namespacey": typeof A; }
|
||||
>module : { "\"tests/cases/compiler/namespacey\"": typeof A; }
|
||||
>exports : typeof A
|
||||
>A : typeof A
|
||||
|
||||
@@ -73,7 +73,7 @@ Object.defineProperty(B, "NS", { value: "why though", writable: true });
|
||||
module.exports = B;
|
||||
>module.exports = B : typeof B
|
||||
>module.exports : typeof B
|
||||
>module : { "tests/cases/compiler/namespacer": typeof B; }
|
||||
>module : { "\"tests/cases/compiler/namespacer\"": typeof B; }
|
||||
>exports : typeof B
|
||||
>B : typeof B
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports.b = {};
|
||||
>module.exports.b = {} : {}
|
||||
>module.exports.b : typeof b
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module : { "tests/cases/conformance/jsdoc/enumTagOnExports": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/enumTagOnExports\"": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>b : typeof b
|
||||
>{} : {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
module.exports = {};
|
||||
>module.exports = {} : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>module : { "tests/cases/conformance/jsdoc/enumTagOnExports": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/enumTagOnExports\"": typeof import("tests/cases/conformance/jsdoc/enumTagOnExports"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/enumTagOnExports")
|
||||
>{} : {}
|
||||
|
||||
@@ -66,7 +66,7 @@ var b5 = o5["_proto__"];
|
||||
//// [escapedReservedCompilerNamedIdentifier.d.ts]
|
||||
declare var __proto__: number;
|
||||
declare var o: {
|
||||
"__proto__": number;
|
||||
__proto__: number;
|
||||
};
|
||||
declare var b: number;
|
||||
declare var o1: {
|
||||
@@ -75,7 +75,7 @@ declare var o1: {
|
||||
declare var b1: number;
|
||||
declare var ___proto__: number;
|
||||
declare var o2: {
|
||||
"___proto__": number;
|
||||
___proto__: number;
|
||||
};
|
||||
declare var b2: number;
|
||||
declare var o3: {
|
||||
@@ -84,7 +84,7 @@ declare var o3: {
|
||||
declare var b3: number;
|
||||
declare var _proto__: number;
|
||||
declare var o4: {
|
||||
"_proto__": number;
|
||||
_proto__: number;
|
||||
};
|
||||
declare var b4: number;
|
||||
declare var o5: {
|
||||
|
||||
@@ -5,8 +5,8 @@ var __proto__ = 10;
|
||||
>10 : 10
|
||||
|
||||
var o = {
|
||||
>o : { "__proto__": number; }
|
||||
>{ "__proto__": 0} : { "__proto__": number; }
|
||||
>o : { __proto__: number; }
|
||||
>{ "__proto__": 0} : { __proto__: number; }
|
||||
|
||||
"__proto__": 0
|
||||
>"__proto__" : number
|
||||
@@ -16,7 +16,7 @@ var o = {
|
||||
var b = o["__proto__"];
|
||||
>b : number
|
||||
>o["__proto__"] : number
|
||||
>o : { "__proto__": number; }
|
||||
>o : { __proto__: number; }
|
||||
>"__proto__" : "__proto__"
|
||||
|
||||
var o1 = {
|
||||
@@ -40,8 +40,8 @@ var ___proto__ = 10;
|
||||
>10 : 10
|
||||
|
||||
var o2 = {
|
||||
>o2 : { "___proto__": number; }
|
||||
>{ "___proto__": 0} : { "___proto__": number; }
|
||||
>o2 : { ___proto__: number; }
|
||||
>{ "___proto__": 0} : { ___proto__: number; }
|
||||
|
||||
"___proto__": 0
|
||||
>"___proto__" : number
|
||||
@@ -51,7 +51,7 @@ var o2 = {
|
||||
var b2 = o2["___proto__"];
|
||||
>b2 : number
|
||||
>o2["___proto__"] : number
|
||||
>o2 : { "___proto__": number; }
|
||||
>o2 : { ___proto__: number; }
|
||||
>"___proto__" : "___proto__"
|
||||
|
||||
var o3 = {
|
||||
@@ -75,8 +75,8 @@ var _proto__ = 10;
|
||||
>10 : 10
|
||||
|
||||
var o4 = {
|
||||
>o4 : { "_proto__": number; }
|
||||
>{ "_proto__": 0} : { "_proto__": number; }
|
||||
>o4 : { _proto__: number; }
|
||||
>{ "_proto__": 0} : { _proto__: number; }
|
||||
|
||||
"_proto__": 0
|
||||
>"_proto__" : number
|
||||
@@ -86,7 +86,7 @@ var o4 = {
|
||||
var b4 = o4["_proto__"];
|
||||
>b4 : number
|
||||
>o4["_proto__"] : number
|
||||
>o4 : { "_proto__": number; }
|
||||
>o4 : { _proto__: number; }
|
||||
>"_proto__" : "_proto__"
|
||||
|
||||
var o5 = {
|
||||
|
||||
@@ -89,7 +89,7 @@ function foo() {
|
||||
module.exports = {
|
||||
>module.exports = { color: "red"} : { color: "red" | "blue"; }
|
||||
>module.exports : { color: "red" | "blue"; }
|
||||
>module : { "tests/cases/compiler/input": { color: "red" | "blue"; }; }
|
||||
>module : { "\"tests/cases/compiler/input\"": { color: "red" | "blue"; }; }
|
||||
>exports : { color: "red" | "blue"; }
|
||||
>{ color: "red"} : { color: "red"; }
|
||||
|
||||
@@ -104,6 +104,6 @@ expectLiteral({ props: module.exports });
|
||||
>{ props: module.exports } : { props: { color: "red" | "blue"; }; }
|
||||
>props : { color: "red" | "blue"; }
|
||||
>module.exports : { color: "red" | "blue"; }
|
||||
>module : { "tests/cases/compiler/input": { color: "red" | "blue"; }; }
|
||||
>module : { "\"tests/cases/compiler/input\"": { color: "red" | "blue"; }; }
|
||||
>exports : { color: "red" | "blue"; }
|
||||
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
|
||||
=== tests/cases/compiler/comma.ts ===
|
||||
export default {
|
||||
>{ ['foo']: 42} : { ['foo']: number; }
|
||||
>{ ['foo']: 42} : { foo: number; }
|
||||
|
||||
['foo']: 42
|
||||
>['foo'] : number
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/exportEqualsAmd.ts ===
|
||||
export = { ["hi"]: "there" };
|
||||
>{ ["hi"]: "there" } : { ["hi"]: string; }
|
||||
>{ ["hi"]: "there" } : { hi: string; }
|
||||
>["hi"] : string
|
||||
>"hi" : "hi"
|
||||
>"there" : "there"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/exportEqualsCommonJs.ts ===
|
||||
export = { ["hi"]: "there" };
|
||||
>{ ["hi"]: "there" } : { ["hi"]: string; }
|
||||
>{ ["hi"]: "there" } : { hi: string; }
|
||||
>["hi"] : string
|
||||
>"hi" : "hi"
|
||||
>"there" : "there"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/compiler/exp.ts ===
|
||||
var x = {
|
||||
>x : { "greeting": string; "default": number; }
|
||||
>{ "greeting": "hello, world", "default": 42} : { "greeting": string; "default": number; }
|
||||
>x : { greeting: string; default: number; }
|
||||
>{ "greeting": "hello, world", "default": 42} : { greeting: string; default: number; }
|
||||
|
||||
"greeting": "hello, world",
|
||||
>"greeting" : string
|
||||
@@ -14,7 +14,7 @@ var x = {
|
||||
};
|
||||
|
||||
export = x
|
||||
>x : { "greeting": string; "default": number; }
|
||||
>x : { greeting: string; default: number; }
|
||||
|
||||
=== tests/cases/compiler/imp.ts ===
|
||||
import foo from "./exp";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/exportEqualsUmd.ts ===
|
||||
export = { ["hi"]: "there" };
|
||||
>{ ["hi"]: "there" } : { ["hi"]: string; }
|
||||
>{ ["hi"]: "there" } : { hi: string; }
|
||||
>["hi"] : string
|
||||
>"hi" : "hi"
|
||||
>"there" : "there"
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports.D = class { }
|
||||
>module.exports.D = class { } : typeof D
|
||||
>module.exports.D : typeof D
|
||||
>module.exports : typeof import("tests/cases/conformance/salsa/bug24492")
|
||||
>module : { "tests/cases/conformance/salsa/bug24492": typeof import("tests/cases/conformance/salsa/bug24492"); }
|
||||
>module : { "\"tests/cases/conformance/salsa/bug24492\"": typeof import("tests/cases/conformance/salsa/bug24492"); }
|
||||
>exports : typeof import("tests/cases/conformance/salsa/bug24492")
|
||||
>D : typeof D
|
||||
>class { } : typeof D
|
||||
|
||||
@@ -3,9 +3,9 @@ var R: any
|
||||
>R : any
|
||||
|
||||
export default R = {
|
||||
>R = { "__": 20, "_": 10 "___": 30} : { "__": number; "_": number; "___": number; }
|
||||
>R = { "__": 20, "_": 10 "___": 30} : { __: number; _: number; ___: number; }
|
||||
>R : any
|
||||
>{ "__": 20, "_": 10 "___": 30} : { "__": number; "_": number; "___": number; }
|
||||
>{ "__": 20, "_": 10 "___": 30} : { __: number; _: number; ___: number; }
|
||||
|
||||
"__": 20,
|
||||
>"__" : number
|
||||
@@ -22,11 +22,11 @@ export default R = {
|
||||
|
||||
=== tests/cases/conformance/es6/modules/m2.ts ===
|
||||
import R from "./m1";
|
||||
>R : { "__": number; "_": number; "___": number; }
|
||||
>R : { __: number; _: number; ___: number; }
|
||||
|
||||
const { __, _, ___ } = R;
|
||||
>__ : number
|
||||
>_ : number
|
||||
>___ : number
|
||||
>R : { "__": number; "_": number; "___": number; }
|
||||
>R : { __: number; _: number; ___: number; }
|
||||
|
||||
@@ -3,9 +3,9 @@ var R: any
|
||||
>R : any
|
||||
|
||||
export default R = {
|
||||
>R = { "__esmodule": true, "__proto__": {}} : { "__esmodule": boolean; "__proto__": {}; }
|
||||
>R = { "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; }
|
||||
>R : any
|
||||
>{ "__esmodule": true, "__proto__": {}} : { "__esmodule": boolean; "__proto__": {}; }
|
||||
>{ "__esmodule": true, "__proto__": {}} : { __esmodule: boolean; __proto__: {}; }
|
||||
|
||||
"__esmodule": true,
|
||||
>"__esmodule" : boolean
|
||||
@@ -18,10 +18,10 @@ export default R = {
|
||||
|
||||
=== tests/cases/conformance/es6/modules/m2.ts ===
|
||||
import R from "./m1";
|
||||
>R : { "__esmodule": boolean; "__proto__": {}; }
|
||||
>R : { __esmodule: boolean; __proto__: {}; }
|
||||
|
||||
const { __esmodule, __proto__ } = R;
|
||||
>__esmodule : boolean
|
||||
>__proto__ : {}
|
||||
>R : { "__esmodule": boolean; "__proto__": {}; }
|
||||
>R : { __esmodule: boolean; __proto__: {}; }
|
||||
|
||||
@@ -3,9 +3,9 @@ var R: any
|
||||
>R : any
|
||||
|
||||
export default R = {
|
||||
>R = { "___": 30, "___hello": 21, "_hi": 40,} : { "___": number; "___hello": number; "_hi": number; }
|
||||
>R = { "___": 30, "___hello": 21, "_hi": 40,} : { ___: number; ___hello: number; _hi: number; }
|
||||
>R : any
|
||||
>{ "___": 30, "___hello": 21, "_hi": 40,} : { "___": number; "___hello": number; "_hi": number; }
|
||||
>{ "___": 30, "___hello": 21, "_hi": 40,} : { ___: number; ___hello: number; _hi: number; }
|
||||
|
||||
"___": 30,
|
||||
>"___" : number
|
||||
@@ -22,11 +22,11 @@ export default R = {
|
||||
|
||||
=== tests/cases/conformance/es6/modules/m2.ts ===
|
||||
import R from "./m1";
|
||||
>R : { "___": number; "___hello": number; "_hi": number; }
|
||||
>R : { ___: number; ___hello: number; _hi: number; }
|
||||
|
||||
const { ___, ___hello, _hi } = R;
|
||||
>___ : number
|
||||
>___hello : number
|
||||
>_hi : number
|
||||
>R : { "___": number; "___hello": number; "_hi": number; }
|
||||
>R : { ___: number; ___hello: number; _hi: number; }
|
||||
|
||||
@@ -22,7 +22,7 @@ var moduleATyped: IHasVisualizationModel = moduleA;
|
||||
var moduleMap: { [key: string]: IHasVisualizationModel } = {
|
||||
>moduleMap : { [key: string]: IHasVisualizationModel; }
|
||||
>key : string
|
||||
>{ "moduleA": moduleA, "moduleB": moduleB} : { "moduleA": typeof moduleA; "moduleB": typeof moduleB; }
|
||||
>{ "moduleA": moduleA, "moduleB": moduleB} : { moduleA: typeof moduleA; moduleB: typeof moduleB; }
|
||||
|
||||
"moduleA": moduleA,
|
||||
>"moduleA" : typeof moduleA
|
||||
|
||||
@@ -21,15 +21,15 @@ define(function () {
|
||||
>{} : {}
|
||||
|
||||
impl.mobileDetectRules = {
|
||||
>impl.mobileDetectRules = { "phones": { "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349Line truncated
|
||||
>impl.mobileDetectRules = { "phones": { "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349Line truncated
|
||||
>impl.mobileDetectRules : any
|
||||
>impl : {}
|
||||
>mobileDetectRules : any
|
||||
>{ "phones": { "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T3Line truncated
|
||||
>{ "phones": { "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T3Line truncated
|
||||
|
||||
"phones": {
|
||||
>"phones" : { "iPhone": string; "BlackBerry": string; "HTC": string; "Nexus": string; "Dell": string; "Motorola": string; "Samsung": string; "LG": string; "Sony": string; "Asus": string; "NokiaLumia": string; "Micromax": string; "Palm": string; "Vertu": string; "Pantech": string; "Fly": string; "Wiko": string; "iMobile": string; "SimValley": string; "Wolfgang": string; "Alcatel": string; "Nintendo": string; "Amoi": string; "INQ": string; "GenericPhone": string; }
|
||||
>{ "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGHLine truncated
|
||||
>"phones" : { iPhone: string; BlackBerry: string; HTC: string; Nexus: string; Dell: string; Motorola: string; Samsung: string; LG: string; Sony: string; Asus: string; NokiaLumia: string; Micromax: string; Palm: string; Vertu: string; Pantech: string; Fly: string; Wiko: string; iMobile: string; SimValley: string; Wolfgang: string; Alcatel: string; Nintendo: string; Amoi: string; INQ: string; GenericPhone: string; }
|
||||
>{ "iPhone": "\\biPhone\\b|\\biPod\\b", "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+", "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m", "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6", "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b", "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b", "Samsung": "Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGHLine truncated
|
||||
|
||||
"iPhone": "\\biPhone\\b|\\biPod\\b",
|
||||
>"iPhone" : string
|
||||
@@ -133,8 +133,8 @@ define(function () {
|
||||
|
||||
},
|
||||
"tablets": {
|
||||
>"tablets" : { "iPad": string; "NexusTablet": string; "SamsungTablet": string; "Kindle": string; "SurfaceTablet": string; "HPTablet": string; "AsusTablet": string; "BlackBerryTablet": string; "HTCtablet": string; "MotorolaTablet": string; "NookTablet": string; "AcerTablet": string; "ToshibaTablet": string; "LGTablet": string; "FujitsuTablet": string; "PrestigioTablet": string; "LenovoTablet": string; "DellTablet": string; "YarvikTablet": string; "MedionTablet": string; "ArnovaTablet": string; "IntensoTablet": string; "IRUTablet": string; "MegafonTablet": string; "EbodaTablet": string; "AllViewTablet": string; "ArchosTablet": string; "AinolTablet": string; "NokiaLumiaTablet": string; "SonyTablet": string; "PhilipsTablet": string; "CubeTablet": string; "CobyTablet": string; "MIDTablet": string; "MSITablet": string; "SMiTTablet": string; "RockChipTablet": string; "FlyTablet": string; "bqTablet": string; "HuaweiTablet": string; "NecTablet": string; "PantechTablet": string; "BronchoTablet": string; "VersusTablet": string; "ZyncTablet": string; "PositivoTablet": string; "NabiTablet": string; "KoboTablet": string; "DanewTablet": string; "TexetTablet": string; "PlaystationTablet": string; "TrekstorTablet": string; "PyleAudioTablet": string; "AdvanTablet": string; "DanyTechTablet": string; "GalapadTablet": string; "MicromaxTablet": string; "KarbonnTablet": string; "AllFineTablet": string; "PROSCANTablet": string; "YONESTablet": string; "ChangJiaTablet": string; "GUTablet": string; "PointOfViewTablet": string; "OvermaxTablet": string; "HCLTablet": string; "DPSTablet": string; "VistureTablet": string; "CrestaTablet": string; "MediatekTablet": string; "ConcordeTablet": string; "GoCleverTablet": string; "ModecomTablet": string; "VoninoTablet": string; "ECSTablet": string; "StorexTablet": string; "VodafoneTablet": string; "EssentielBTablet": string; "RossMoorTablet": string; "iMobileTablet": string; "TolinoTablet": string; "AudioSonicTablet": string; "AMPETablet": string; "SkkTablet": string; "TecnoTablet": string; "JXDTablet": string; "iJoyTablet": string; "FX2Tablet": string; "XoroTablet": string; "ViewsonicTablet": string; "OdysTablet": string; "CaptivaTablet": string; "IconbitTablet": string; "TeclastTablet": string; "OndaTablet": string; "JaytechTablet": string; "BlaupunktTablet": string; "DigmaTablet": string; "EvolioTablet": string; "LavaTablet": string; "AocTablet": string; "MpmanTablet": string; "CelkonTablet": string; "WolderTablet": string; "MiTablet": string; "NibiruTablet": string; "NexoTablet": string; "LeaderTablet": string; "UbislateTablet": string; "PocketBookTablet": string; "KocasoTablet": string; "Hudl": string; "TelstraTablet": string; "GenericTablet": string; }
|
||||
>{ "iPad": "iPad|iPad.*Mobile", "NexusTablet": "Android.*Nexus[\\s]+(7|9|10)", "SamsungTablet": "SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561", "Kindle": "Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI)\\b", "SurfaceTablet": "Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)", "HPTablet": "HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10", "AsusTablet": "^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA", "BlackBerryTablet": "PlayBook|RIM Tablet", "HTCtablet": "HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410", "MotorolaTablet": "xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617", "NookTablet": "Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2", "AcerTablet": "Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20", "ToshibaTablet": "Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO", "LGTablet": "\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b", "FujitsuTablet": "Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b", "PrestigioTablet": "PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002", "LenovoTablet": "Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)", "DellTablet": "Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7", "YarvikTablet": "Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b", "MedionTablet": "Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB", "ArnovaTablet": "AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2", "IntensoTablet": "INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004", "IRUTablet":Line truncated
|
||||
>"tablets" : { iPad: string; NexusTablet: string; SamsungTablet: string; Kindle: string; SurfaceTablet: string; HPTablet: string; AsusTablet: string; BlackBerryTablet: string; HTCtablet: string; MotorolaTablet: string; NookTablet: string; AcerTablet: string; ToshibaTablet: string; LGTablet: string; FujitsuTablet: string; PrestigioTablet: string; LenovoTablet: string; DellTablet: string; YarvikTablet: string; MedionTablet: string; ArnovaTablet: string; IntensoTablet: string; IRUTablet: string; MegafonTablet: string; EbodaTablet: string; AllViewTablet: string; ArchosTablet: string; AinolTablet: string; NokiaLumiaTablet: string; SonyTablet: string; PhilipsTablet: string; CubeTablet: string; CobyTablet: string; MIDTablet: string; MSITablet: string; SMiTTablet: string; RockChipTablet: string; FlyTablet: string; bqTablet: string; HuaweiTablet: string; NecTablet: string; PantechTablet: string; BronchoTablet: string; VersusTablet: string; ZyncTablet: string; PositivoTablet: string; NabiTablet: string; KoboTablet: string; DanewTablet: string; TexetTablet: string; PlaystationTablet: string; TrekstorTablet: string; PyleAudioTablet: string; AdvanTablet: string; DanyTechTablet: string; GalapadTablet: string; MicromaxTablet: string; KarbonnTablet: string; AllFineTablet: string; PROSCANTablet: string; YONESTablet: string; ChangJiaTablet: string; GUTablet: string; PointOfViewTablet: string; OvermaxTablet: string; HCLTablet: string; DPSTablet: string; VistureTablet: string; CrestaTablet: string; MediatekTablet: string; ConcordeTablet: string; GoCleverTablet: string; ModecomTablet: string; VoninoTablet: string; ECSTablet: string; StorexTablet: string; VodafoneTablet: string; EssentielBTablet: string; RossMoorTablet: string; iMobileTablet: string; TolinoTablet: string; AudioSonicTablet: string; AMPETablet: string; SkkTablet: string; TecnoTablet: string; JXDTablet: string; iJoyTablet: string; FX2Tablet: string; XoroTablet: string; ViewsonicTablet: string; OdysTablet: string; CaptivaTablet: string; IconbitTablet: string; TeclastTablet: string; OndaTablet: string; JaytechTablet: string; BlaupunktTablet: string; DigmaTablet: string; EvolioTablet: string; LavaTablet: string; AocTablet: string; MpmanTablet: string; CelkonTablet: string; WolderTablet: string; MiTablet: string; NibiruTablet: string; NexoTablet: string; LeaderTablet: string; UbislateTablet: string; PocketBookTablet: string; KocasoTablet: string; Hudl: string; TelstraTablet: string; GenericTablet: string; }
|
||||
>{ "iPad": "iPad|iPad.*Mobile", "NexusTablet": "Android.*Nexus[\\s]+(7|9|10)", "SamsungTablet": "SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561", "Kindle": "Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI)\\b", "SurfaceTablet": "Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)", "HPTablet": "HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10", "AsusTablet": "^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA", "BlackBerryTablet": "PlayBook|RIM Tablet", "HTCtablet": "HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410", "MotorolaTablet": "xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617", "NookTablet": "Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2", "AcerTablet": "Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20", "ToshibaTablet": "Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO", "LGTablet": "\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b", "FujitsuTablet": "Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b", "PrestigioTablet": "PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002", "LenovoTablet": "Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)", "DellTablet": "Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7", "YarvikTablet": "Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b", "MedionTablet": "Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB", "ArnovaTablet": "AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2", "IntensoTablet": "INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004", "IRUTablet":Line truncated
|
||||
|
||||
"iPad": "iPad|iPad.*Mobile",
|
||||
>"iPad" : string
|
||||
@@ -594,8 +594,8 @@ define(function () {
|
||||
|
||||
},
|
||||
"oss": {
|
||||
>"oss" : { "AndroidOS": string; "BlackBerryOS": string; "PalmOS": string; "SymbianOS": string; "WindowsMobileOS": string; "WindowsPhoneOS": string; "iOS": string; "MeeGoOS": string; "MaemoOS": string; "JavaOS": string; "webOS": string; "badaOS": string; "BREWOS": string; }
|
||||
>{ "AndroidOS": "Android", "BlackBerryOS": "blackberry|\\bBB10\\b|rim tablet os", "PalmOS": "PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino", "SymbianOS": "Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b", "WindowsMobileOS": "Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;", "WindowsPhoneOS": "Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;", "iOS": "\\biPhone.*Mobile|\\biPod|\\biPad", "MeeGoOS": "MeeGo", "MaemoOS": "Maemo", "JavaOS": "J2ME\/|\\bMIDP\\b|\\bCLDC\\b", "webOS": "webOS|hpwOS", "badaOS": "\\bBada\\b", "BREWOS": "BREW" } : { "AndroidOS": string; "BlackBerryOS": string; "PalmOS": string; "SymbianOS": string; "WindowsMobileOS": string; "WindowsPhoneOS": string; "iOS": string; "MeeGoOS": string; "MaemoOS": string; "JavaOS": string; "webOS": string; "badaOS": string; "BREWOS": string; }
|
||||
>"oss" : { AndroidOS: string; BlackBerryOS: string; PalmOS: string; SymbianOS: string; WindowsMobileOS: string; WindowsPhoneOS: string; iOS: string; MeeGoOS: string; MaemoOS: string; JavaOS: string; webOS: string; badaOS: string; BREWOS: string; }
|
||||
>{ "AndroidOS": "Android", "BlackBerryOS": "blackberry|\\bBB10\\b|rim tablet os", "PalmOS": "PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino", "SymbianOS": "Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b", "WindowsMobileOS": "Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;", "WindowsPhoneOS": "Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;", "iOS": "\\biPhone.*Mobile|\\biPod|\\biPad", "MeeGoOS": "MeeGo", "MaemoOS": "Maemo", "JavaOS": "J2ME\/|\\bMIDP\\b|\\bCLDC\\b", "webOS": "webOS|hpwOS", "badaOS": "\\bBada\\b", "BREWOS": "BREW" } : { AndroidOS: string; BlackBerryOS: string; PalmOS: string; SymbianOS: string; WindowsMobileOS: string; WindowsPhoneOS: string; iOS: string; MeeGoOS: string; MaemoOS: string; JavaOS: string; webOS: string; badaOS: string; BREWOS: string; }
|
||||
|
||||
"AndroidOS": "Android",
|
||||
>"AndroidOS" : string
|
||||
@@ -651,8 +651,8 @@ define(function () {
|
||||
|
||||
},
|
||||
"uas": {
|
||||
>"uas" : { "Vivaldi": string; "Chrome": string; "Dolfin": string; "Opera": string; "Skyfire": string; "Edge": string; "IE": string; "Firefox": string; "Bolt": string; "TeaShark": string; "Blazer": string; "Safari": string; "Tizen": string; "UCBrowser": string; "baiduboxapp": string; "baidubrowser": string; "DiigoBrowser": string; "Puffin": string; "Mercury": string; "ObigoBrowser": string; "NetFront": string; "GenericBrowser": string; "PaleMoon": string; }
|
||||
>{ "Vivaldi": "Vivaldi", "Chrome": "\\bCrMo\\b|CriOS|Android.*Chrome\/[.0-9]* (Mobile)?", "Dolfin": "\\bDolfin\\b", "Opera": "Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+", "Skyfire": "Skyfire", "Edge": "Mobile Safari\/[.0-9]* Edge", "IE": "IEMobile|MSIEMobile", "Firefox": "fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile", "Bolt": "bolt", "TeaShark": "teashark", "Blazer": "Blazer", "Safari": "Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari", "Tizen": "Tizen", "UCBrowser": "UC.*Browser|UCWEB", "baiduboxapp": "baiduboxapp", "baidubrowser": "baidubrowser", "DiigoBrowser": "DiigoBrowser", "Puffin": "Puffin", "Mercury": "\\bMercury\\b", "ObigoBrowser": "Obigo", "NetFront": "NF-Browser", "GenericBrowser": "NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger", "PaleMoon": "Android.*PaleMoon|Mobile.*PaleMoon" } : { "Vivaldi": string; "Chrome": string; "Dolfin": string; "Opera": string; "Skyfire": string; "Edge": string; "IE": string; "Firefox": string; "Bolt": string; "TeaShark": string; "Blazer": string; "Safari": string; "Tizen": string; "UCBrowser": string; "baiduboxapp": string; "baidubrowser": string; "DiigoBrowser": string; "Puffin": string; "Mercury": string; "ObigoBrowser": string; "NetFront": string; "GenericBrowser": string; "PaleMoon": string; }
|
||||
>"uas" : { Vivaldi: string; Chrome: string; Dolfin: string; Opera: string; Skyfire: string; Edge: string; IE: string; Firefox: string; Bolt: string; TeaShark: string; Blazer: string; Safari: string; Tizen: string; UCBrowser: string; baiduboxapp: string; baidubrowser: string; DiigoBrowser: string; Puffin: string; Mercury: string; ObigoBrowser: string; NetFront: string; GenericBrowser: string; PaleMoon: string; }
|
||||
>{ "Vivaldi": "Vivaldi", "Chrome": "\\bCrMo\\b|CriOS|Android.*Chrome\/[.0-9]* (Mobile)?", "Dolfin": "\\bDolfin\\b", "Opera": "Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+", "Skyfire": "Skyfire", "Edge": "Mobile Safari\/[.0-9]* Edge", "IE": "IEMobile|MSIEMobile", "Firefox": "fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile", "Bolt": "bolt", "TeaShark": "teashark", "Blazer": "Blazer", "Safari": "Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari", "Tizen": "Tizen", "UCBrowser": "UC.*Browser|UCWEB", "baiduboxapp": "baiduboxapp", "baidubrowser": "baidubrowser", "DiigoBrowser": "DiigoBrowser", "Puffin": "Puffin", "Mercury": "\\bMercury\\b", "ObigoBrowser": "Obigo", "NetFront": "NF-Browser", "GenericBrowser": "NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger", "PaleMoon": "Android.*PaleMoon|Mobile.*PaleMoon" } : { Vivaldi: string; Chrome: string; Dolfin: string; Opera: string; Skyfire: string; Edge: string; IE: string; Firefox: string; Bolt: string; TeaShark: string; Blazer: string; Safari: string; Tizen: string; UCBrowser: string; baiduboxapp: string; baidubrowser: string; DiigoBrowser: string; Puffin: string; Mercury: string; ObigoBrowser: string; NetFront: string; GenericBrowser: string; PaleMoon: string; }
|
||||
|
||||
"Vivaldi": "Vivaldi",
|
||||
>"Vivaldi" : string
|
||||
@@ -748,8 +748,8 @@ define(function () {
|
||||
|
||||
},
|
||||
"props": {
|
||||
>"props" : { "Mobile": string; "Build": string; "Version": string; "VendorID": string; "iPad": string; "iPhone": string; "iPod": string; "Kindle": string; "Chrome": string[]; "Coast": string[]; "Dolfin": string; "Firefox": string; "Fennec": string; "Edge": string; "IE": string[]; "NetFront": string; "NokiaBrowser": string; "Opera": string[]; "Opera Mini": string; "Opera Mobi": string; "UC Browser": string; "MQQBrowser": string; "MicroMessenger": string; "baiduboxapp": string; "baidubrowser": string; "Iron": string; "Safari": string[]; "Skyfire": string; "Tizen": string; "Webkit": string; "PaleMoon": string; "Gecko": string; "Trident": string; "Presto": string; "Goanna": string; "iOS": string; "Android": string; "BlackBerry": string[]; "BREW": string; "Java": string; "Windows Phone OS": string[]; "Windows Phone": string; "Windows CE": string; "Windows NT": string; "Symbian": string[]; "webOS": string[]; }
|
||||
>{ "Mobile": "Mobile\/[VER]", "Build": "Build\/[VER]", "Version": "Version\/[VER]", "VendorID": "VendorID\/[VER]", "iPad": "iPad.*CPU[a-z ]+[VER]", "iPhone": "iPhone.*CPU[a-z ]+[VER]", "iPod": "iPod.*CPU[a-z ]+[VER]", "Kindle": "Kindle\/[VER]", "Chrome": [ "Chrome\/[VER]", "CriOS\/[VER]", "CrMo\/[VER]" ], "Coast": [ "Coast\/[VER]" ], "Dolfin": "Dolfin\/[VER]", "Firefox": "Firefox\/[VER]", "Fennec": "Fennec\/[VER]", "Edge": "Edge\/[VER]", "IE": [ "IEMobile\/[VER];", "IEMobile [VER]", "MSIE [VER];", "Trident\/[0-9.]+;.*rv:[VER]" ], "NetFront": "NetFront\/[VER]", "NokiaBrowser": "NokiaBrowser\/[VER]", "Opera": [ " OPR\/[VER]", "Opera Mini\/[VER]", "Version\/[VER]" ], "Opera Mini": "Opera Mini\/[VER]", "Opera Mobi": "Version\/[VER]", "UC Browser": "UC Browser[VER]", "MQQBrowser": "MQQBrowser\/[VER]", "MicroMessenger": "MicroMessenger\/[VER]", "baiduboxapp": "baiduboxapp\/[VER]", "baidubrowser": "baidubrowser\/[VER]", "Iron": "Iron\/[VER]", "Safari": [ "Version\/[VER]", "Safari\/[VER]" ], "Skyfire": "Skyfire\/[VER]", "Tizen": "Tizen\/[VER]", "Webkit": "webkit[ \/][VER]", "PaleMoon": "PaleMoon\/[VER]", "Gecko": "Gecko\/[VER]", "Trident": "Trident\/[VER]", "Presto": "Presto\/[VER]", "Goanna": "Goanna\/[VER]", "iOS": " \\bi?OS\\b [VER][ ;]{1}", "Android": "Android [VER]", "BlackBerry": [ "BlackBerry[\\w]+\/[VER]", "BlackBerry.*Version\/[VER]", "Version\/[VER]" ], "BREW": "BREW [VER]", "Java": "Java\/[VER]", "Windows Phone OS": [ "Windows Phone OS [VER]", "Windows Phone [VER]" ], "Windows Phone": "Windows Phone [VER]", "Windows CE": "Windows CE\/[VER]", "Windows NT": "Windows NT [VER]", "Symbian": [ "SymbianOS\/[VER]", "Symbian\/[VER]" ], "webOS": [ "webOS\/[VER]", "hpwOS\/[VER];" ] } : { "Mobile": string; "Build": string; "Version": string; "VendorID": string; "iPad": string; "iPhone": string; "iPod": string; "Kindle": string; "Chrome": string[]; "Coast": string[]; "Dolfin": string; "Firefox": string; "Fennec": string; "Edge": string; "IE": string[]; "NetFront": string; "NokiaBrowser": string; "Opera": string[]; "Opera Mini": string; "Opera Mobi": string; "UC Browser": string; "MQQBrowser": string; "MicroMessenger": string; "baiduboxapp": string; "baidubrowser": string; "Iron": string; "Safari": string[]; "Skyfire": string; "Tizen": string; "Webkit": string; "PaleMoon": string; "Gecko": string; "Trident": string; "Presto": string; "Goanna": string; "iOS": string; "Android": string; "BlackBerry": string[]; "BREW": string; "Java": string; "Windows Phone OS": string[]; "Windows Phone": string; "Windows CE": string; "Windows NT": string; "Symbian": string[]; "webOS": string[]; }
|
||||
>"props" : { Mobile: string; Build: string; Version: string; VendorID: string; iPad: string; iPhone: string; iPod: string; Kindle: string; Chrome: string[]; Coast: string[]; Dolfin: string; Firefox: string; Fennec: string; Edge: string; IE: string[]; NetFront: string; NokiaBrowser: string; Opera: string[]; "Opera Mini": string; "Opera Mobi": string; "UC Browser": string; MQQBrowser: string; MicroMessenger: string; baiduboxapp: string; baidubrowser: string; Iron: string; Safari: string[]; Skyfire: string; Tizen: string; Webkit: string; PaleMoon: string; Gecko: string; Trident: string; Presto: string; Goanna: string; iOS: string; Android: string; BlackBerry: string[]; BREW: string; Java: string; "Windows Phone OS": string[]; "Windows Phone": string; "Windows CE": string; "Windows NT": string; Symbian: string[]; webOS: string[]; }
|
||||
>{ "Mobile": "Mobile\/[VER]", "Build": "Build\/[VER]", "Version": "Version\/[VER]", "VendorID": "VendorID\/[VER]", "iPad": "iPad.*CPU[a-z ]+[VER]", "iPhone": "iPhone.*CPU[a-z ]+[VER]", "iPod": "iPod.*CPU[a-z ]+[VER]", "Kindle": "Kindle\/[VER]", "Chrome": [ "Chrome\/[VER]", "CriOS\/[VER]", "CrMo\/[VER]" ], "Coast": [ "Coast\/[VER]" ], "Dolfin": "Dolfin\/[VER]", "Firefox": "Firefox\/[VER]", "Fennec": "Fennec\/[VER]", "Edge": "Edge\/[VER]", "IE": [ "IEMobile\/[VER];", "IEMobile [VER]", "MSIE [VER];", "Trident\/[0-9.]+;.*rv:[VER]" ], "NetFront": "NetFront\/[VER]", "NokiaBrowser": "NokiaBrowser\/[VER]", "Opera": [ " OPR\/[VER]", "Opera Mini\/[VER]", "Version\/[VER]" ], "Opera Mini": "Opera Mini\/[VER]", "Opera Mobi": "Version\/[VER]", "UC Browser": "UC Browser[VER]", "MQQBrowser": "MQQBrowser\/[VER]", "MicroMessenger": "MicroMessenger\/[VER]", "baiduboxapp": "baiduboxapp\/[VER]", "baidubrowser": "baidubrowser\/[VER]", "Iron": "Iron\/[VER]", "Safari": [ "Version\/[VER]", "Safari\/[VER]" ], "Skyfire": "Skyfire\/[VER]", "Tizen": "Tizen\/[VER]", "Webkit": "webkit[ \/][VER]", "PaleMoon": "PaleMoon\/[VER]", "Gecko": "Gecko\/[VER]", "Trident": "Trident\/[VER]", "Presto": "Presto\/[VER]", "Goanna": "Goanna\/[VER]", "iOS": " \\bi?OS\\b [VER][ ;]{1}", "Android": "Android [VER]", "BlackBerry": [ "BlackBerry[\\w]+\/[VER]", "BlackBerry.*Version\/[VER]", "Version\/[VER]" ], "BREW": "BREW [VER]", "Java": "Java\/[VER]", "Windows Phone OS": [ "Windows Phone OS [VER]", "Windows Phone [VER]" ], "Windows Phone": "Windows Phone [VER]", "Windows CE": "Windows CE\/[VER]", "Windows NT": "Windows NT [VER]", "Symbian": [ "SymbianOS\/[VER]", "Symbian\/[VER]" ], "webOS": [ "webOS\/[VER]", "hpwOS\/[VER];" ] } : { Mobile: string; Build: string; Version: string; VendorID: string; iPad: string; iPhone: string; iPod: string; Kindle: string; Chrome: string[]; Coast: string[]; Dolfin: string; Firefox: string; Fennec: string; Edge: string; IE: string[]; NetFront: string; NokiaBrowser: string; Opera: string[]; "Opera Mini": string; "Opera Mobi": string; "UC Browser": string; MQQBrowser: string; MicroMessenger: string; baiduboxapp: string; baidubrowser: string; Iron: string; Safari: string[]; Skyfire: string; Tizen: string; Webkit: string; PaleMoon: string; Gecko: string; Trident: string; Presto: string; Goanna: string; iOS: string; Android: string; BlackBerry: string[]; BREW: string; Java: string; "Windows Phone OS": string[]; "Windows Phone": string; "Windows CE": string; "Windows NT": string; Symbian: string[]; webOS: string[]; }
|
||||
|
||||
"Mobile": "Mobile\/[VER]",
|
||||
>"Mobile" : string
|
||||
@@ -1012,8 +1012,8 @@ define(function () {
|
||||
]
|
||||
},
|
||||
"utils": {
|
||||
>"utils" : { "Bot": string; "MobileBot": string; "DesktopMode": string; "TV": string; "WebKit": string; "Console": string; "Watch": string; }
|
||||
>{ "Bot": "Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom", "MobileBot": "Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker\/M1A1-R2D2", "DesktopMode": "WPDesktop", "TV": "SonyDTV|HbbTV", "WebKit": "(webkit)[ \/]([\\w.]+)", "Console": "\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b", "Watch": "SM-V700" } : { "Bot": string; "MobileBot": string; "DesktopMode": string; "TV": string; "WebKit": string; "Console": string; "Watch": string; }
|
||||
>"utils" : { Bot: string; MobileBot: string; DesktopMode: string; TV: string; WebKit: string; Console: string; Watch: string; }
|
||||
>{ "Bot": "Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom", "MobileBot": "Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker\/M1A1-R2D2", "DesktopMode": "WPDesktop", "TV": "SonyDTV|HbbTV", "WebKit": "(webkit)[ \/]([\\w.]+)", "Console": "\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b", "Watch": "SM-V700" } : { Bot: string; MobileBot: string; DesktopMode: string; TV: string; WebKit: string; Console: string; Watch: string; }
|
||||
|
||||
"Bot": "Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",
|
||||
>"Bot" : string
|
||||
|
||||
@@ -14,7 +14,7 @@ window.console; // should not have error: Property 'console' does not exist on t
|
||||
module.exports = 'anything';
|
||||
>module.exports = 'anything' : string
|
||||
>module.exports : string
|
||||
>module : { "tests/cases/conformance/salsa/bug27099": string; }
|
||||
>module : { "\"tests/cases/conformance/salsa/bug27099\"": string; }
|
||||
>exports : string
|
||||
>'anything' : "anything"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class Alias {
|
||||
module.exports = Alias;
|
||||
>module.exports = Alias : typeof Alias
|
||||
>module.exports : typeof Alias
|
||||
>module : { "tests/cases/conformance/salsa/mod1": typeof Alias; }
|
||||
>module : { "\"tests/cases/conformance/salsa/mod1\"": typeof Alias; }
|
||||
>exports : typeof Alias
|
||||
>Alias : typeof Alias
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ fn("a" in { "a": true });
|
||||
>fn : (val: boolean) => boolean
|
||||
>"a" in { "a": true } : boolean
|
||||
>"a" : "a"
|
||||
>{ "a": true } : { "a": boolean; }
|
||||
>{ "a": true } : { a: boolean; }
|
||||
>"a" : boolean
|
||||
>true : true
|
||||
|
||||
@@ -16,7 +16,7 @@ declare var x: ({
|
||||
"a-b"?: undefined;
|
||||
})[];
|
||||
declare var y: ({
|
||||
["a-b"]: string;
|
||||
"a-b": string;
|
||||
} | {
|
||||
"a-b"?: undefined;
|
||||
})[];
|
||||
@@ -8,9 +8,9 @@ var x = [{ "a-b": "string" }, {}];
|
||||
>{} : {}
|
||||
|
||||
var y = [{ ["a-b"]: "string" }, {}];
|
||||
>y : ({ ["a-b"]: string; } | { "a-b"?: undefined; })[]
|
||||
>[{ ["a-b"]: "string" }, {}] : ({ ["a-b"]: string; } | {})[]
|
||||
>{ ["a-b"]: "string" } : { ["a-b"]: string; }
|
||||
>y : ({ "a-b": string; } | { "a-b"?: undefined; })[]
|
||||
>[{ ["a-b"]: "string" }, {}] : ({ "a-b": string; } | {})[]
|
||||
>{ ["a-b"]: "string" } : { "a-b": string; }
|
||||
>["a-b"] : string
|
||||
>"a-b" : "a-b"
|
||||
>"string" : "string"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/inferringAnyFunctionType1.ts ===
|
||||
function f<T extends { "0": (p1: number) => number }>(p: T): T {
|
||||
>f : <T extends { "0": (p1: number) => number; }>(p: T) => T
|
||||
>f : <T extends { 0: (p1: number) => number; }>(p: T) => T
|
||||
>"0" : (p1: number) => number
|
||||
>p1 : number
|
||||
>p : T
|
||||
@@ -12,7 +12,7 @@ function f<T extends { "0": (p1: number) => number }>(p: T): T {
|
||||
var v = f([x => x]);
|
||||
>v : [(x: number) => number]
|
||||
>f([x => x]) : [(x: number) => number]
|
||||
>f : <T extends { "0": (p1: number) => number; }>(p: T) => T
|
||||
>f : <T extends { 0: (p1: number) => number; }>(p: T) => T
|
||||
>[x => x] : [(x: number) => number]
|
||||
>x => x : (x: number) => number
|
||||
>x : number
|
||||
|
||||
@@ -9,7 +9,7 @@ class Bar extends Foo {}
|
||||
module.exports = Bar;
|
||||
>module.exports = Bar : typeof Bar
|
||||
>module.exports : typeof Bar
|
||||
>module : { "tests/cases/compiler/index": typeof Bar; }
|
||||
>module : { "\"tests/cases/compiler/index\"": typeof Bar; }
|
||||
>exports : typeof Bar
|
||||
>Bar : typeof Bar
|
||||
|
||||
@@ -9,7 +9,7 @@ const alias = {};
|
||||
module.exports = alias;
|
||||
>module.exports = alias : {}
|
||||
>module.exports : {}
|
||||
>module : { "/a": {}; }
|
||||
>module : { "\"/a\"": {}; }
|
||||
>exports : {}
|
||||
>alias : {}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class Foo extends Bar {}
|
||||
module.exports = Foo;
|
||||
>module.exports = Foo : typeof Foo
|
||||
>module.exports : typeof Foo
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/cls": typeof Foo; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Foo : typeof Foo
|
||||
|
||||
@@ -33,7 +33,7 @@ module.exports.Strings = Strings;
|
||||
>module.exports.Strings = Strings : { a: string; b: string; }
|
||||
>module.exports.Strings : { a: string; b: string; }
|
||||
>module.exports : typeof Foo
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/cls": typeof Foo; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/cls\"": typeof Foo; }
|
||||
>exports : typeof Foo
|
||||
>Strings : { a: string; b: string; }
|
||||
>Strings : { a: string; b: string; }
|
||||
@@ -45,7 +45,7 @@ class Bar {}
|
||||
module.exports = Bar;
|
||||
>module.exports = Bar : typeof Bar
|
||||
>module.exports : typeof Bar
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/bar": typeof Bar; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/bar\"": typeof Bar; }
|
||||
>exports : typeof Bar
|
||||
>Bar : typeof Bar
|
||||
|
||||
@@ -12,7 +12,7 @@ const InnerSym = Symbol();
|
||||
module.exports = {
|
||||
>module.exports = { [TopLevelSym](x = 12) { return x; }, items: { [InnerSym]: (arg = {x: 12}) => arg.x }} : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>module.exports : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/index": { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }; }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }; }
|
||||
>exports : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
>{ [TopLevelSym](x = 12) { return x; }, items: { [InnerSym]: (arg = {x: 12}) => arg.x }} : { [TopLevelSym](x?: number): number; items: { [InnerSym]: (arg?: { x: number; }) => number; }; }
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
module.exports = class Thing {
|
||||
>module.exports = class Thing { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/index": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class Thing { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>Thing : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
module.exports = class {
|
||||
>module.exports = class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module.exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>module : { "tests/cases/conformance/jsdoc/declarations/index": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>module : { "\"tests/cases/conformance/jsdoc/declarations/index\"": typeof import("tests/cases/conformance/jsdoc/declarations/index"); }
|
||||
>exports : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
>class { /** * @param {number} p */ constructor(p) { this.t = 12 + p; }} : typeof import("tests/cases/conformance/jsdoc/declarations/index")
|
||||
|
||||
|
||||
Loaded 100 of 237 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user