how to use CCCallFunc in lua?

my test code:

function cb(_sprite)
cocos2d.CCLuaLog(“————bingo————-”)
end

actionSprite:runAction(cocos2d.CCFadeOut:actionWithDuration(0.5),cocos2d.CCCallFunc(actionSprite,“cb”))

It doesn’t work, so how to use CCCallFunc in lua?

local cbAction = CCCallFunc:create(cb)
local fadeOutAction = CCFadeOut:actionWithDuration(0.5)
local actions = CCSequence:createWithTwoActions(fadeOutAction, cbAction)
actionSprite:runAction(actions)