How to pick random value from JSON property into javascript using Math.random WITHOUT arrays, cycles, Object.keys and additional libraries, frameworks
I have got a task that I described in title. I MUST NOT to use arrays, cycles and Object.keys somewhere in my code and in JSON. I can only use Math.random. JSON object must be with some names of users.
Aucun commentaire:
Enregistrer un commentaire