Goodbye javascript Array.prototype.toSource()

0
126
Javascript
Javascript

I don’t know the reason why this javascript array method Array.prototype.toSource() have been obsoleted maybe it better replacement have emerged which ended it services.

It is heartbroken when I personally heard on mozilla documentary that Array.prototype.toSource() is gone

Oh I searched the CDN https://developer.cdn.mozilla.net/cs/docs/Web/JavaScript/Reference/Global_Objects/Object/toLocaleString (404) so it is true it is finally gone.

We rest on Array.prototype.toSource() you have served your purpose

Why Array.prototype.toSource()

So be it the mozilla developers have already enacted this mark as warning to other developers

Obsolete

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Mozilla Developers

Well goodbye dear Javascript Array Method .toSource() your implementation that returns A string representing the source code of the array may have been replaced or seen less needy.

LEAVE A REPLY

Please enter your comment!
Please enter your name here