File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
YantraJS.Core.Tests/Imported
YantraJS.Core/Core/Storage Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ public void ArrayIndexer()
8181
8282 // The array indexer can see the prototype elements.
8383 Evaluate ( "var array = [1, ,3]" ) ;
84+ var a = Evaluate ( "array" ) ;
8485 Evaluate ( "Array.prototype[1] = 'two'" ) ;
8586 Evaluate ( "Array.prototype[20] = 'twenty'" ) ;
8687 try
@@ -90,7 +91,6 @@ public void ArrayIndexer()
9091 Assert . AreEqual ( true , Evaluate ( "array.hasOwnProperty(2)" ) ) ;
9192 Assert . AreEqual ( false , Evaluate ( "array.hasOwnProperty(20)" ) ) ;
9293 Assert . AreEqual ( 1 , Evaluate ( "array[0]" ) ) ;
93- var a = Evaluate ( "array" ) ;
9494 Assert . AreEqual ( "two" , Evaluate ( "array[1]" ) ) ;
9595 Assert . AreEqual ( 3 , Evaluate ( "array[2]" ) ) ;
9696 Assert . AreEqual ( "twenty" , Evaluate ( "array[20]" ) ) ;
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ public JSProperty this[uint index]
255255 //}
256256 }
257257
258- public bool IsNull => ! Storage . IsNull ;
258+ public bool IsNull => Storage . IsNull ;
259259
260260 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
261261 public bool TryGetValue ( uint key , out JSProperty value )
You can’t perform that action at this time.
0 commit comments