A blog dedicated to coding
See the Pen String to Leet by Dhiviya Dhanasekar (@dhiviyadhanasekar) on CodePen.
Lessons Learnt:
mapper = {'a': 0};
if(mapper['a']) ---> is false
0 || undefined ---> is undefined
undefined || 0 ---> is 0
No comments:
Post a Comment