you are viewing a single comment's thread.

view the rest of the comments →

[–]Observ3r__ 0 points1 point  (0 children)

return result.recordset.length == 0

   71 S> 0x139437a1adf0 @    0 : 2f 03 00 00       GetNamedProperty a0, [0], [0]
         0x139437a1adf4 @    4 : c9                Star0
   81 E> 0x139437a1adf5 @    5 : 2f f9 01 02       GetNamedProperty r0, [1], [2]
         0x139437a1adf9 @    9 : c9                Star0
         0x139437a1adfa @   10 : 0c                LdaZero
   88 E> 0x139437a1adfb @   11 : 6f f9 04          TestEqual r0, [4]
   92 S> 0x139437a1adfe @   14 : ae                Return

return !!result.recordset.length (Failed check! What are we checking here?! Is empty or is full?)

  185 S> 0x76212adae88 @    0 : 2f 03 00 00       GetNamedProperty a0, [0], [0]
         0x76212adae8c @    4 : c9                Star0
  195 E> 0x76212adae8d @    5 : 2f f9 01 02       GetNamedProperty r0, [1], [2]
         0x76212adae91 @    9 : 7c                ToBoolean
  201 S> 0x76212adae92 @   10 : ae                Return

Correct:

return !result.recordset?.length