Last active
October 9, 2023 17:26
-
-
Save AirStair/4a36be56363c6cc28dd9c36e90c60978 to your computer and use it in GitHub Desktop.
rev.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ffff = (o,l=10) => {let k,v=o,n=0;while(n<l){for(i in v){k=i,v=v[k]}n++;console.log(k,v,n);}} | |
var ffff = (o,l=10) => {let k,v=o,n=0;while(typeof v === 'object'){for(i in v){k=i,v=v[k];}n++;console.log(v);}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment