Skip to content

Commit b1afc6f

Browse files
committed
Properly prints function arguments
1 parent b6d0d19 commit b1afc6f

File tree

1 file changed

+1
-1
lines changed
  • 11-advanced-recipes/03-async-init-queues-state

1 file changed

+1
-1
lines changed

11-advanced-recipes/03-async-init-queues-state/db.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class QueuingState {
1616

1717
METHODS_REQUIRING_CONNECTION.forEach(methodName => {
1818
this[methodName] = function (...args) {
19-
console.log('Command queued:', methodName, arguments)
19+
console.log('Command queued:', methodName, args)
2020
return new Promise((resolve, reject) => {
2121
const command = () => {
2222
db[methodName](...args)

0 commit comments

Comments
 (0)