Created
May 22, 2010 11:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testDynamicFunction(){ | |
var dynamicFunctionCall = "thisWillBeCalledDynamically"; | |
window[dynamicFunctionCall ](); //javascript function being called dynamically! | |
} | |
function thisWillBeCalledDynamically(){ | |
alert("Woh! How did you call me!"); | |
} | |
testDynamicFunction(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment