local Z=script.Parent.Parent.Parent local O=require(Z.LuauPolyfill)local y=O.Object.assign({},O.Object,{getPrototypeOf=function(Z)local O=getmetatable(Z)return O~=false and O or nil end,create=function(Z,O)if O==nil then O={}end return setmetatable(O,Z)end})return y
--[[
 * Copyright (c) Roblox Corporation
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
]]
local rootWorkspace = script.Parent.Parent.Parent
local LuauPolyfill = require(rootWorkspace.LuauPolyfill)

-- ROBLOX TODO: include this in LuauPolyfill
local Object = LuauPolyfill.Object.assign({}, LuauPolyfill.Object, {
	getPrototypeOf = function(obj)
		local prototype = getmetatable(obj)
		return prototype ~= false and prototype or nil
	end,
	create = function(proto, properties)
		if properties == nil then
			properties = {}
		end
		return setmetatable(properties, proto)
	end,
})

return Object
