X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/37ab7f76d34b76493528f20e7427ef9534a8edf7..refs/heads/current:/symbol.js?ds=sidebyside diff --git a/symbol.js b/symbol.js index e1183ef..2bd3717 100644 --- a/symbol.js +++ b/symbol.js @@ -8,7 +8,6 @@ // file, You can obtain one at . import { createCallableFunction } from "./function.js"; -import { getOwnPropertyDescriptor } from "./object.js"; /** * Returns the description for the provided symbol. @@ -19,7 +18,7 @@ import { getOwnPropertyDescriptor } from "./object.js"; * ☡ This function throws if the provided argument is not a symbol. */ export const getSymbolDescription = createCallableFunction( - getOwnPropertyDescriptor(Symbol.prototype, "description").get, + Object.getOwnPropertyDescriptor(Symbol.prototype, "description").get, { name: "getSymbolDescription" }, );