You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
9 lines
297 B
JavaScript
9 lines
297 B
JavaScript
'use strict';
|
|
|
|
// Using a predefined object with this prototype is faster than calling `Object.create(null)` directly
|
|
// This is needed to make sure `__proto__` and similar reserved words can be used
|
|
function RawObject () {}
|
|
RawObject.prototype = Object.create(null);
|
|
|
|
module.exports = RawObject;
|