Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python:
- >>> def test(a=False, b=False):
- ... print a, b
- ...
- >>> test(b=True)
- False True
- js:
- function test(a=false, b=false){
- console.log(a);
- console.log(b);
- }
- test(b=true)
- true
- false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement