linspace (numpy.linspace or tf.linspace equivalent in Javascript)

Note: For example, after getting this linspace result, can plot on x and y axis in chart.