Core JavaScript code demonstrations