Skip to content

Tag: javascript

How to get javascript console.log in flutter webview

I created a simple javascript that sends a response through console.log(); and I have a flutter WebView that loads the URL and in my flutter android studio console I get this response as I/chromium(27778): [INFO:CONSOLE(20)] “My name”, source: https://response_test.php but I’m looking for a …

JavaScript pyramid

I’m trying to print a pyramid that has odd numbers for edges. For example output should be: …….5 …3,4,3 1,2,3,2,1 (dots are here just to show formating) I managed to write: But I’m not sure how to continue to get wanted result Answer You can try it :