Created
April 23, 2018 11:59
index.js
This file contains 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 getNextMsgId(intent) { | |
console.log("Inside getNextMsgId method " + prevMsg ); | |
for (var c in chatFlow.DataTableArray) { | |
console.log("1: "+String(chatFlow.DataTableArray[0][1])+" 2: "+String(prevMsg)); | |
if (String(prevMsg) in String(chatFlow.DataTableArray.indexOf([0][1]) !== 1)) { | |
console.log("Inside For In Loop " + prevMsg ); | |
console.log("Inside For In Loop" + chatFlow.DataTableArray.indexOf([0][1])); | |
console.log("Inside For In Loop" + chatFlow.DataTableArray[2]); | |
chatFlow.DataTableArray[0][4]=msg; | |
return chatFlow.DataTableArray[0][3]; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment