[test] passes/web.js (first 2 funcs)