File Explorer

/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/node_modules/strnum

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

test.js354 B · 9 lines
import toNumber from "./strnum.js"; describe("Should convert all the valid numeric strings to number", () => {  it("should return undefined, null, empty string, or non-numeric as it is", () => {      // expect(toNumber("+ 90")).toEqual("+ 90");      // expect(toNumber("- 90")).toEqual("- 90");      expect(toNumber("-10E2")).toEqual(100);  });});