svoid test_replaceDollarVars_js() { assertEqualsVerbose("var bla = {\"x\":\"y\"}; variable = 1;", replaceDollarVars_js("var bla = $blubb; $x = $y;", blubb := litorderedmap(x := "y"), x := JS("variable"), y := 1)); }
Began life as a copy of #1030663
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032540 |
Snippet name: | test_replaceDollarVars_js (OK) |
Eternal ID of this version: | #1032540/5 |
Text MD5: | 8c317bc4913214641e9ccc3d7646445d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-22 14:45:35 |
Source code size: | 245 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 192 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |