const myWeakMap = new WeakMap(); // Set a value to a specific node reference. myWeakMap.set(document.getElementById('thing'), 'some value');
確定! 回上一頁