frontend/.pnpm-store/v3/files/32/1fa5d869806f5d7ba67f7877bcdc8ffb1eeb58e408f0a394f800117d4685744b615b9b82aa2f5caa07559fc0abcae4ed422e7c0b8b1982adb72c047c031018-exec

13 lines
291 B
Plaintext
Executable File

import { ToObject } from './262';
/**
* https://tc39.es/ecma402/#sec-coerceoptionstoobject
* @param options
* @returns
*/
export function CoerceOptionsToObject(options) {
if (typeof options === 'undefined') {
return Object.create(null);
}
return ToObject(options);
}