Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # side effects
- function square {
- $script:squared = $script:x * $script:x
- }
- # pure
- function square($x) {
- $x * $x
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement