Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1032745 // hjs_setVar

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4644L/26K).

1  
sS hjs_setVar(S var, O value) {
2  
  ret hjs(JS("$var = $value;", var := JS(var), +value));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032745
Snippet name: hjs_setVar
Eternal ID of this version: #1032745/4
Text MD5: fa268dcb08c16bdf4a2485bd7c70fdf1
Transpilation MD5: 726afcfccc1e91864e1c25524c635465
Author: stefan
Category: javax / javascript
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 05:41:36
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 191
Version history: 3 change(s)
Referenced in: [show references]