-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Object.fromEntries
#12179
Conversation
This provides a simpler way of creating an `Object` from e.g. a `Map`, without having to manually iterate over it. Please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/5bd5e77dedf267f/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/b35dcdf56ae91dc/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/5bd5e77dedf267f/output.txt Total script time: 3.89 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/b35dcdf56ae91dc/output.txt Total script time: 4.85 mins
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/61fc7ec34672523/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/61fc7ec34672523/output.txt Total script time: 3.48 mins Published |
That's a nice feature; thanks! |
This provides a simpler way of creating an
Object
from e.g. aMap
, without having to manually iterate over it.Please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries