Description[gin] Add Arguments::GetAll()
Add an Arguments::GetAll() function that returns all arguments as a
std::vector<v8::Local<v8::Value>>. This is more clear, concise, and
slightly more performant than the alternative of using
Arguments::GetRemaining() since it doesn't require trying to convert
and avoids unnecessary calls.
Add a test for the new method.
BUG=None
Review-Url: https://codereview.chromium.org/2824883002
Cr-Commit-Position: refs/heads/master@{#465253}
Committed: https://chromium.googlesource.com/chromium/src/+/3853b0bd67adec1b98b222196b89aca2468b9fe2
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (7 generated)
|