53063593e3
Final
11 lines
377 B
JavaScript
11 lines
377 B
JavaScript
<script>
|
|
n = '838102050' // Set 'n' to a string
|
|
document.write('n = ' + n + ', and is a ' + typeof n + '<br>')
|
|
|
|
n = 12345 * 67890; // Set 'n' to a number
|
|
document.write('n = ' + n + ', and is a ' + typeof n + '<br>')
|
|
|
|
n += ' plus some text' // Change 'n' from a number to a string
|
|
document.write('n = ' + n + ', and is a ' + typeof n + '<br>')
|
|
</script>
|