Codecademy / docs

Codecademy Docs is a collection of information for all things code. 📕
https://www.codecademy.com/resources/docs
810 stars 3.61k forks source link

Update isArray.md #5522

Closed Said-Suluk closed 3 days ago

Said-Suluk commented 4 weeks ago

If we add a note like this, users can have a better experience

Description

I left a brief explanatory note here: 'console.log(Array.isArray([])); // Output: true console.log(Array.isArray(new Array(5))); // Output: true.' This way, users can get an idea about it. ### Issue Solved

Type of Change

Checklist

CLAassistant commented 4 weeks ago

CLA assistant check
All committers have signed the CLA.

PragatiVerma18 commented 3 days ago

Closing this as this is not a valid issue, it was suggested by the author but isn't a major enhancement. The existing content is still easy to follow and understand.