Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
Update keyFinder.js
1. modified the identifiers and used the suitable identifiers for the variables 2. leave the loop when a key is match and found to increase the speed of searching in this stage of development 3. return the key number if founded, return 0 if found nothing
W
Wan Cheuk Lun committed
a93d5cfe671a12df945e4085958df2fc11b6303b
Parent: 6c894a2
Committed by GitHub <noreply@github.com>
on 10/31/2018, 2:10:17 AM