mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
40 lines
708 B
Plaintext
40 lines
708 B
Plaintext
fun execFunction() {
|
|
print('execFunction')
|
|
}
|
|
|
|
fun execFunctionNested() {
|
|
fun execFunction() {
|
|
print('execFunctionNew')
|
|
}
|
|
print('execFunctionNested')
|
|
execFunction()
|
|
}
|
|
|
|
execFunction()
|
|
execFunctionNested()
|
|
execFunction()
|
|
|
|
print('--------')
|
|
|
|
fun secondExecFunction() {
|
|
print('secondExecFunction')
|
|
}
|
|
|
|
fun secondExecFunctionNested() {
|
|
print('secondExecFunctionNested')
|
|
secondExecFunction()
|
|
}
|
|
|
|
secondExecFunction()
|
|
secondExecFunctionNested()
|
|
secondExecFunction()
|
|
|
|
print('--------')
|
|
|
|
let decode := () -> base64Decode
|
|
let sixtyFour := base64Encode
|
|
|
|
print(sixtyFour('http://www.google.com'))
|
|
print((decode())(sixtyFour('http://www.google.com')))
|
|
print(decode()(sixtyFour('http://www.google.com')))
|