15 ms·
I did not run the code myself. The code block and console log I have pasted is verbatim copy from Claude3.5
by drevil-v2 2y ago
I did not run the code myself. The code block and console log I have pasted is verbatim copy from Claude3.5
- michaelmrose 2y agoClaude isn't actually running console.log() it produced correct code. This prompt "please write a javascript function that takes a string and a letter and iterates over the characters in a string and counts the occurrences of the letter" Produced a correct function given both chatGPT4o and claude3.5 for me.