Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
horsevalue
function getPrice( R, T ) { var e = 2.71828; var price = ( ( ( e ) ** ( -R/T ) ) * T/35 ) * ( 10 ** 5 ); return price; } var x = {}; for( var i=50000; i>=0; i-- ){ x[i] = getPrice( i, 50000 ) } console.log( JSON.stringify( x ) );
run
|
edit
|
history
|
help
0
Accept matching keys in object
Union of two sorted arrays
Holyboi
Funny stuff
Count digits
lodash
Counting digits
Rest Params
Add property to object
myfirstmodule.js