Skip to content

iwantlogic/js-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR Description

A simple javascript grapher. With variables x and y but i dont reccomend you to do something like x**(2)+y

WARNING: DO NOT USE IN WEBSITES. VULNERABLE

This is a vulnerable program, DO NOT USE FOR ONLINE WEBSITES

it has the javascript eval() vulnerability, Heres a example

// input="//"
input=process.argv[1]
a = eval(input) // a=// (ERROR!) 
console.log(a)

i am currently working on the branch plain_node fixing this.

You can contribute to me so we can fix this vulnerability together!

Description

You have x and y to work with. The y= is already added at the start no need to add it;

Example:

x*Math.sin(x)

MathSinXTimesX