Javascript -> JavaScript (English) (#35183)
* Javascript -> JavaScript (English) * Update technical documentation page for required change * Update use-class-syntax-to-define-a-constructor-function.english.md * Update left-factorials.md
This commit is contained in:
committed by
The Coding Aviator
parent
fed6ffb606
commit
e84ae45008
@@ -96,7 +96,7 @@ The algorithm shown below is a slightly optimized version to avoid swapping the
|
||||
arr[i+1] = key
|
||||
```
|
||||
|
||||
Here is a detailed implementation in Javascript:
|
||||
Here is a detailed implementation in JavaScript:
|
||||
|
||||
```
|
||||
function insertion_sort(A) {
|
||||
|
@@ -66,8 +66,8 @@ void recurSelectionSort(int a[], int n, int index = 0)
|
||||
}
|
||||
```
|
||||
|
||||
### Implementation in Javascript
|
||||
``` Javascript
|
||||
### Implementation in JavaScript
|
||||
```js
|
||||
function selection_sort(A) {
|
||||
var len = A.length;
|
||||
for (var i = 0; i < len - 1; i = i + 1) {
|
||||
|
Reference in New Issue
Block a user