Question: (JSON, Javascript) Write a function named get_y that takes a JSON formatted string as a parameter in the format of an object with keys x
(JSON, Javascript) Write a function named "get_y" that takes a JSON formatted string as a parameter in the format of an object with keys "x" and "y" each mapping to an array of integers. This is the same format used to plot points on a line graph in Plotly in that each (x[i], y[i]) represents a single point. Return the y-value at x == 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
