我們來看下面的例子。 var set = new WeakSet(); var map = new WeakMap(); var obj ... value is not a non-null object 這個例子演示了WeakSet和WeakMap的用法。
確定! 回上一頁