Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valueDelete (0.18 sec)

  1. src/syscall/js/js.go

    		panic(&ValueError{"Value.Delete", vType})
    	}
    	valueDelete(v.ref, p)
    	runtime.KeepAlive(v)
    }
    
    // valueDelete deletes the JavaScript property p of ref v.
    //
    // (noescape): This is safe because no references are maintained to the
    //             Go string p after the syscall returns.
    //
    //go:wasmimport gojs syscall/js.valueDelete
    //go:noescape
    func valueDelete(v ref, p string)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    					"syscall/js.valueSet": (sp) => {
    						sp >>>= 0;
    						Reflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));
    					},
    
    					// func valueDelete(v ref, p string)
    					"syscall/js.valueDelete": (sp) => {
    						sp >>>= 0;
    						Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));
    					},
    
    					// func valueIndex(v ref, i int) ref
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top