Which two booleans does this send-admission check print?

from WebSocket
Node 24 beginner 3 min

Which two booleans does this send-admission check print?

JavaScript
const socket = {
  readyState: WebSocket.OPEN,
  bufferedAmount: 60 * 1024,
};
const limit = 64 * 1024;
console.log(socket.bufferedAmount + 2 * 1024 <= limit);
console.log(socket.bufferedAmount + 8 * 1024 <= limit);
Open in playground
Report an error