Fix bug where hex2num and num2hex don't actually return anything
This commit is contained in:
parent
10ada984e6
commit
62fd07fcaa
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "sketches",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"papaparse": "^5.4.1"
|
||||
}
|
||||
},
|
||||
"node_modules/papaparse": {
|
||||
"version": "5.4.1",
|
||||
"resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.4.1.tgz",
|
||||
"integrity": "sha512-HipMsgJkZu8br23pW15uvo6sib6wne/4woLZPlFf3rpDyMe9ywEXUsuD7+6K9PRkJlVT51j/sCOYDKGGS3ZJrw=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"papaparse": "^5.4.1"
|
||||
}
|
||||
}
|
||||
|
|
@ -201,8 +201,8 @@ function logCPUState() {
|
|||
|
||||
// FUNCTIONS FOR DISPLAYING DATA
|
||||
|
||||
function num2hex(num) { num.toString(16) };
|
||||
function hex2num(hex) { parseInt(hex, 16) };
|
||||
function num2hex(num) { return num.toString(16) };
|
||||
function hex2num(hex) { return parseInt(hex, 16) };
|
||||
|
||||
logTableTitled = (memory, tableTitle) => {
|
||||
console.log();
|
||||
|
|
|
|||
Loading…
Reference in New Issue