This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const renderObj = (obj) => Object.entries(obj).map((el) => ( | |
<div> | |
<div>el[0]</div> | |
<div>el[1]</div> | |
</div> | |
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Symbols = [ | |
["Country and Currency", "Currency Code", "Unicode: Hex"], | |
["Albania Lek", "ALL", "\u004c\u0065\u006b"], | |
["Afghanistan Afghani", "AFN", "\u060b"], | |
["Argentina Peso", "ARS", "\u0024"], | |
["Aruba Guilder", "AWG", "\u0192"], | |
["Australia Dollar", "AUD", "\u0024"], | |
["Azerbaijan Manat", "AZN", "\u20bc"], | |
["Bahamas Dollar", "BSD", "\u0024"], | |
["Barbados Dollar", "BBD", "\u0024"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tdr = $('table')[0].children[0].children; | |
var out = ''; | |
$.each(tdr, (c, el) => { | |
const els = el.children; | |
var curr = ''; | |
var ucs = els[6].textContent.trim(); | |
if(ucs.length) { | |
ucs = ucs.split(","); | |
for(var i = 0; i < ucs.length; i++) { | |
curr += (c > 0 ? '\\u' : '') + ucs[i].trim().padStart("4", "0"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.hexDecode = function () { | |
var j; | |
var hexes = this.split("\\u").slice(1); | |
var back = ""; | |
for (j = 0; j < hexes.length; j++) { | |
back += String.fromCharCode(parseInt(hexes[j], 16)); | |
} | |
return back; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Country and Currency | Currency Code | Unicode: Hex | |
---|---|---|---|
Albania Lek | ALL | \u004c\u0065\u006b | |
Afghanistan Afghani | AFN | \u060b | |
Argentina Peso | ARS | \u0024 | |
Aruba Guilder | AWG | \u0192 | |
Australia Dollar | AUD | \u0024 | |
Azerbaijan Manat | AZN | \u20bc | |
Bahamas Dollar | BSD | \u0024 | |
Barbados Dollar | BBD | \u0024 | |
Belarus Ruble | BYN | \u0042\u0072 |
NewerOlder