repl.txt (508B)
1 2 {{alias}}( path ) 3 Changes the current working directory. 4 5 If unable to set the current working directory (e.g., due to a non-existent 6 path), the function returns an error; otherwise, the function returns 7 `null`. 8 9 Parameters 10 ---------- 11 path: string 12 Desired working directory. 13 14 Returns 15 ------- 16 err: Error|null 17 Error object or null. 18 19 Examples 20 -------- 21 > var err = {{alias}}( '/path/to/current/working/directory' ) 22 23 See Also 24 -------- 25